| @node dirname | |
| @subsection @code{dirname} | |
| @findex dirname | |
| POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/dirname.html} | |
| Gnulib module: --- | |
| Portability problems fixed by Gnulib: | |
| @itemize | |
| @end itemize | |
| Portability problems not fixed by Gnulib: | |
| @itemize | |
| @item | |
| This function is missing on some platforms: | |
| mingw, MSVC 14. | |
| @item | |
| @code{dirname} assumes file names in POSIX syntax; it does not work with file | |
| names in Windows syntax. | |
| @end itemize | |
| @mindex dirname | |
| The Gnulib module @code{dirname} provides similar API, with functions | |
| @code{dir_name} and @code{mdir_name}, that also works with Windows | |
| file names. |