getcwd
======

POSIX specification:
 http://www.opengroup.org/onlinepubs/9699919799/functions/getcwd.html

Gnulib module: getcwd

Portability problems fixed by Gnulib:

  * This function is missing on some older platforms.

  * On glibc platforms, getcwd (NULL, n) allocates memory for the result. On other platforms, this call is not allowed.

  * This function does not handle long file names (greater than PATH_MAX) correctly on some platforms.

Portability problems not fixed by Gnulib: