Bump to 1.14.1
[platform/upstream/augeas.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
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.
14 @item
15 Macros like @code{CHAR_WIDTH} are not defined on some platforms:
16 glibc 2.24, many others.
17 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
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.
25 @item
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.
28 @item
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.
32 @item
33 The macro @code{SSIZE_MAX} is not defined on some platforms:
34 MSVC 9.
35 @end itemize
36
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.