__xpg_basename

Name

__xpg_basename -- return the last component of a file name

Synopsis

#include <libgen.h>

char * __xpg_basename(const char * path);

Description

The __xpg_basename() function shall return a pointer to the final component of the pathname named by path, as described in ISO POSIX (2003) basename().

This function is not in the source standard, it is only in the binary standard.

Return Value

See ISO POSIX (2003).