Home | History | Annotate | Download | only in core

Lines Matching refs:path

24  * Get base name of path
32 * Return base name from path
34 * @v path Full path
37 char * basename ( char *path ) {
40 basename = strrchr ( path, '/' );
41 return ( basename ? ( basename + 1 ) : path );
45 * Return directory name from path
47 * @v path Full path
52 char * dirname ( char *path ) {
55 separator = strrchr ( path, '/' );
56 if ( separator == path ) {
60 return path;