Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <libgen.h> char *basename (char *path); |
Description | When If the passed string only consists of the ’/’ character, a pointer to the ’/’ string is returned. If path or *path is zero, a pointer to the ’
|
Return val. | Pointer to the last component of path. |
Example | Input string Output pointer /usr/lib lib /usr/ usr / / |
Notes |
|
See also |
|