Restore text about PATH_MAX (it may no be a compile-time constant;

its value may depend on the file system).
This commit is contained in:
Michael Kerrisk 2008-08-09 12:22:09 +00:00
parent c359e37d82
commit b4338c3fac
1 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,11 @@ bytes, NULL is returned, and
.I errno
is set to
.BR ENAMETOOLONG .
(Note that on some systems,
.B PATH_MAX
may not not be a compile-time constant;
furthermore, its value may depend on the file system, see
.BR pathconf (3).)
For portability and security reasons, use of
.BR getwd ()
is deprecated.