Next: bind, Previous: atoll, Up: Function Substitutes [Contents][Index]
basename
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/basename.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
basename
: the POSIX version and
the GNU version.
basename
assumes file names in POSIX syntax; it does not work with file
names in Windows syntax.
The Gnulib module dirname
provides similar API, with function
base_name
, that also works with Windows file names.