Next: , Previous: , Up: ISO C and POSIX Function Substitutes   [Contents][Index]


10.55 basename

POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/basename.html

LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-basename-3.html

Gnulib module: —

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

The Gnulib module basename-lgpl provides similar API, with a function last_component, that also works with Windows file names.