Next: locale.h, Previous: libgen.h, Up: Header File Substitutes [Contents][Index]
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
Gnulib module: gethostname
Portability problems fixed by Gnulib:
HOST_NAME_MAX
macro is not defined on some platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
Portability problems not fixed by Gnulib:
LLONG_MIN
, LLONG_MAX
, ULLONG_MAX
are not
defined on some platforms:
AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1 with gcc.
WORD_BIT
, LONG_BIT
are not defined on some platforms:
glibc 2.11 without -D_GNU_SOURCE
, Cygwin, mingw, MSVC 9.
SSIZE_MAX
is not defined on some platforms:
MSVC 9.
For PATH_MAX
, Gnulib provides a module pathmax
with a header
file "pathmax.h"
. It defines PATH_MAX
to a constant on
platforms with a file name length limit.