summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-headers/limits.texi
blob: c7bc7ba72d969c7faad1b20d938269b07c1fbb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@node limits.h
@section @file{limits.h}

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html}

Gnulib module: gethostname

Portability problems fixed by Gnulib:
@itemize
@item
The @code{HOST_NAME_MAX} macro is not defined on some platforms:
MacOS 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 2010-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
The macros @code{LLONG_MIN}, @code{LLONG_MAX}, @code{ULLONG_MAX} are not
defined on some platforms:
AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1 with gcc.
@item
The macros @code{WORD_BIT}, @code{LONG_BIT} are not defined on some platforms:
glibc 2.11 without @code{-D_GNU_SOURCE}, Cygwin, mingw, MSVC 9.
@item
The macro @code{SSIZE_MAX} is not defined on some platforms:
MSVC 9.
@end itemize

For @code{PATH_MAX}, Gnulib provides a module @code{pathmax} with a header
file @code{"pathmax.h"}.  It defines @code{PATH_MAX} to a constant on
platforms with a file name length limit.