2 @section @file{limits.h}
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html}
6 Gnulib module: gethostname
8 Portability problems fixed by Gnulib:
11 The @code{HOST_NAME_MAX} macro is not defined on some platforms:
12 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
13 IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
15 Macros like @code{CHAR_WIDTH} are not defined on some platforms:
16 glibc 2.24, many others.
19 Portability problems not fixed by Gnulib:
22 The macros @code{LLONG_MIN}, @code{LLONG_MAX}, @code{ULLONG_MAX} are not
23 defined on some platforms:
24 AIX 5.1, HP-UX 11, IRIX 6.5, OpenVMS, OSF/1 5.1 with gcc.
26 The macros @code{WORD_BIT}, @code{LONG_BIT} are not defined on some platforms:
27 glibc 2.11 without @code{-D_GNU_SOURCE}, Cygwin, mingw, MSVC 9.
29 The macro @code{SSIZE_MAX} has the wrong type,
30 albeit with the correct value:
31 32-bit glibc 2.24 (on some architectures), Cygwin 2.5.2.
33 The macro @code{SSIZE_MAX} is not defined on some platforms:
37 For @code{PATH_MAX}, Gnulib provides a module @code{pathmax} with a header
38 file @code{"pathmax.h"}. It defines @code{PATH_MAX} to a constant on
39 platforms with a file name length limit.