* * $Log: libgen.h,v $ * Revision 1.1 2006/08/01 07:42:56 haraldkipp * New functions extract last component and parent directory from pathnames. * * *
Functions | |
char * | basename (CONST char *) |
Return the last component from a given pathname. | |
char * | dirname (CONST char *) |
Extract the directory part of a given pathname. |
|
Return the last component from a given pathname. Trailing slashes are removed.
|
|
Extract the directory part of a given pathname. This is the converse of basename().
|