POSIX specification: http://www.opengroup.org/susv3xsh/getwd.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
- This function is missing on some platforms:
Solaris 2.4, mingw, MSVC 9, BeOS.
- The size of the buffer required for this function is not a compile-time
constant. Also, the function truncates a result that would be larger than
the minimum buffer size. For these reasons, this function is marked as
“legacy” in POSIX. Better use the
getcwd function instead.