Obtain the basename of a specified path.
@param path The path. @param buffer A buffer to place the base name into, or NULL. @param n The length of the buffer. @return The length of the base name, or -1 on error (errno will be set).
See Implementation
Obtain the basename of a specified path.
@param path The path. @param buffer A buffer to place the base name into, or NULL. @param n The length of the buffer. @return The length of the base name, or -1 on error (errno will be set).