summaryrefslogtreecommitdiff
path: root/doc/pastposix-functions/getwd.texi
blob: 09a9398d8bbea8d0bcc60c52ebe0c30137868b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@node getwd
@section @code{getwd}
@findex getwd

POSIX specification: @url{http://www.opengroup.org/susv3xsh/getwd.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:
Solaris 2.4, mingw, MSVC 9, BeOS.
@item
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 @code{getcwd} function instead.
@end itemize