Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

char* pa_path_get_filename ( const char *  p  ) 

Return a pointer to the filename inside a path (which is the last component).

Definition at line 212 of file util.c.

    char *fn;


    if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
        return fn+1;

    return (char*) p;

Generated by  Doxygen 1.6.0   Back to index