2ee94b93a9b492740e52f05f02ea3a8099027759
[gnulib.git] / doc / posix-functions / getcwd.texi
1 @node getcwd
2 @section @code{getcwd}
3 @findex getcwd
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getcwd.html}
6
7 Gnulib module: getcwd
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some older platforms.
13 @item
14 On glibc platforms, @code{getcwd (NULL, n)} allocates memory for the result.
15 On other platforms, this call is not allowed.
16 @item
17 This function does not handle long file names (greater than @code{PATH_MAX})
18 correctly on some platforms.
19 @end itemize
20
21 Portability problems not fixed by Gnulib:
22 @itemize
23 @end itemize