@node getcwd @section @code{getcwd} @findex getcwd POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getcwd.html} Gnulib module: getcwd Portability problems fixed by Gnulib: @itemize @item This function is missing on some older platforms. @item On glibc platforms, @code{getcwd (NULL, n)} allocates memory for the result. On other platforms, this call is not allowed. @item This function does not handle long file names (greater than @code{PATH_MAX}) correctly on some platforms. @end itemize Portability problems not fixed by Gnulib: @itemize @end itemize