pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise.
[gnulib.git] / doc / posix-headers / limits.texi
1 @node limits.h
2 @section @file{limits.h}
3
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html}
5
6 Gnulib module: gethostname
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item The @code{HOST_NAME_MAX} macro is not defined on some platforms:
11 MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
12 IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
13 @end itemize
14
15 Portability problems not fixed by Gnulib:
16 @itemize
17 @end itemize
18
19 For @code{PATH_MAX}, Gnulib provides a module @code{pathmax} with a header
20 file @code{"pathmax.h"}.  It defines @code{PATH_MAX} to a constant on
21 platforms with a file name length limit.