dirfd, Up: ISO C and POSIX Function Substitutes [Contents][Index]
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
dirnameassumes file names in POSIX syntax; it does not work with file names in Windows syntax.
The Gnulib module
dirname provides similar API, with functions
mdir_name, that also works with Windows