diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
commit | 2de9abc5c9d40b3c716307d67d16146f823fd554 (patch) | |
tree | 6979db67934ddc8b564150b465846a383b428ff8 /gnulib/doc/posix-headers | |
parent | 33cc1c6fda6e72a7bae1401e9b2cec495a4d3ff1 (diff) | |
download | patch-baserock/bootstrap-pass2.tar.gz |
add the output of bootstrapbaserock/bootstrap-pass2baserock/bootstrap
Diffstat (limited to 'gnulib/doc/posix-headers')
87 files changed, 2117 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/doc/posix-headers/aio.texi b/gnulib/doc/posix-headers/aio.texi new file mode 100644 index 0000000..a167962 --- /dev/null +++ b/gnulib/doc/posix-headers/aio.texi @@ -0,0 +1,17 @@ +@node aio.h +@section @file{aio.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/arpa_inet.texi b/gnulib/doc/posix-headers/arpa_inet.texi new file mode 100644 index 0000000..f30c29e --- /dev/null +++ b/gnulib/doc/posix-headers/arpa_inet.texi @@ -0,0 +1,16 @@ +@node arpa/inet.h +@section @file{arpa/inet.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/arpa_inet.h.html} + +Gnulib module: arpa_inet + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: mingw, MSVC 9, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/assert.texi b/gnulib/doc/posix-headers/assert.texi new file mode 100644 index 0000000..aa78ee7 --- /dev/null +++ b/gnulib/doc/posix-headers/assert.texi @@ -0,0 +1,33 @@ +@node assert.h +@section @file{assert.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html} + +Gnulib module: assert-h + +See also the Gnulib module @code{assert}. + +Portability problems fixed by Gnulib: +@itemize +@item +The draft C1X and C++0X @code{static_assert}, and the draft C1X +@code{_Static_assert}, are not supported by many platforms. +For example, GCC versions before 4.6.0 do not support @code{_Static_assert}, +and G++ versions through at least 4.6.0 do not support @code{static_assert}. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +Draft C1X @code{_Static_assert} and draft C++0X @code{static_assert} +are keywords that can be used without including @code{<assert.h>}. +The Gnulib substitutes are macros that require including @code{<assert.h>}. +@item +The draft C1X @code{static_assert} and @code{_Static_assert} can also +be used within a @code{struct} or @code{union} specifier, in place of +an ordinary declaration of a member of the struct or union. The +Gnulib substitute can be used only as an ordinary declaration. +@item +In C99, @code{assert} can be applied to any scalar expression. +In C89, the argument to @code{assert} is of type @code{int}. +@end itemize diff --git a/gnulib/doc/posix-headers/complex.texi b/gnulib/doc/posix-headers/complex.texi new file mode 100644 index 0000000..ddfe473 --- /dev/null +++ b/gnulib/doc/posix-headers/complex.texi @@ -0,0 +1,18 @@ +@node complex.h +@section @file{complex.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/complex.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, +Cygwin 1.7.7, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/cpio.texi b/gnulib/doc/posix-headers/cpio.texi new file mode 100644 index 0000000..7812e9a --- /dev/null +++ b/gnulib/doc/posix-headers/cpio.texi @@ -0,0 +1,17 @@ +@node cpio.h +@section @file{cpio.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/cpio.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/ctype.texi b/gnulib/doc/posix-headers/ctype.texi new file mode 100644 index 0000000..ec5fe12 --- /dev/null +++ b/gnulib/doc/posix-headers/ctype.texi @@ -0,0 +1,14 @@ +@node ctype.h +@section @file{ctype.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html} + +Gnulib module: ctype + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/dirent.texi b/gnulib/doc/posix-headers/dirent.texi new file mode 100644 index 0000000..84b4078 --- /dev/null +++ b/gnulib/doc/posix-headers/dirent.texi @@ -0,0 +1,20 @@ +@node dirent.h +@section @file{dirent.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html} + +Gnulib module: dirent + +Portability problems fixed by Gnulib: +@itemize +@item +The type @code{ino_t} is missing on some platforms: +glibc 2.8 and others. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/dlfcn.texi b/gnulib/doc/posix-headers/dlfcn.texi new file mode 100644 index 0000000..573a427 --- /dev/null +++ b/gnulib/doc/posix-headers/dlfcn.texi @@ -0,0 +1,17 @@ +@node dlfcn.h +@section @file{dlfcn.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/errno.texi b/gnulib/doc/posix-headers/errno.texi new file mode 100644 index 0000000..799b42e --- /dev/null +++ b/gnulib/doc/posix-headers/errno.texi @@ -0,0 +1,44 @@ +@node errno.h +@section @file{errno.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html} + +Gnulib module: errno + +Portability problems fixed by Gnulib: +@itemize +@item +The macros @code{EOVERFLOW}, @code{ENOLINK}, @code{EMULTIHOP} are not defined +on some platforms: +OpenBSD 4.0, OSF/1 5.1, mingw, MSVC 9. +@item +The macro @code{ECANCELED} is not defined on some platforms: +OpenBSD 4.0, Cygwin, mingw, MSVC 9. +@item +The macros @code{ENOMSG}, @code{EIDRM}, @code{EPROTO}, @code{EBADMSG}, +@code{ENOTSUP} are not defined on some platforms: +OpenBSD 4.0, mingw, MSVC 9. +@item +The macro @code{ESTALE} is not defined on some platforms: +mingw, MSVC 9, Interix 3.5. +@item +The macro @code{EDQUOT} is not defined on some platforms: +NonStop Kernel, mingw, MSVC 9. +@item +The macros @code{ENETRESET}, @code{ECONNABORTED} are not defined on some +platforms: +Minix 3.1.8, mingw, MSVC 9. +@item +The macros @code{EWOULDBLOCK}, @code{ETXTBSY}, @code{ELOOP}, @code{ENOTSOCK}, +@code{EDESTADDRREQ}, @code{EMSGSIZE}, @code{EPROTOTYPE}, @code{ENOPROTOOPT}, +@code{EPROTONOSUPPORT}, @code{EOPNOTSUPP}, @code{EAFNOSUPPORT}, +@code{EADDRINUSE}, @code{EADDRNOTAVAIL}, @code{ENETDOWN}, @code{ENETUNREACH}, +@code{ECONNRESET}, @code{ENOBUFS}, @code{EISCONN}, @code{ENOTCONN}, +@code{ETIMEDOUT}, @code{ECONNREFUSED}, @code{EHOSTUNREACH}, @code{EALREADY}, +@code{EINPROGRESS} are not defined on some platforms: +mingw, MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/fcntl.texi b/gnulib/doc/posix-headers/fcntl.texi new file mode 100644 index 0000000..332fe5a --- /dev/null +++ b/gnulib/doc/posix-headers/fcntl.texi @@ -0,0 +1,89 @@ +@node fcntl.h +@section @file{fcntl.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html} + +Gnulib module: fcntl-h + +Portability problems fixed by Gnulib: +@itemize +@item +The type @code{pid_t} is not defined on some platforms: +MSVC 9. + +@item +The type @code{mode_t} is not defined on some platforms: +MSVC 9. + +@item +@samp{O_CLOEXEC}, @samp{O_DIRECTORY}, @samp{O_DSYNC}, @samp{O_NOCTTY}, +@samp{O_NOFOLLOW}, @samp{O_RSYNC}, @samp{O_SYNC}, +and @samp{O_TTY_INIT} are not defined on some platforms. Gnulib defines +these macros to 0, which is generally safe. + +@item +@samp{O_NONBLOCK} is not defined on some platforms. If the +@samp{nonblocking} module is in use, gnulib guarantees a working +non-zero value; otherwise, the gnulib replacement is 0. + +@item +@samp{O_EXEC} and @samp{O_SEARCH} are not defined on some platforms. +Gnulib defines these macros to @samp{O_RDONLY}, which is typically 0. + +@item +@samp{O_ACCMODE} is not defined on some platforms: +MSVC 9. + +@item +The @samp{O_ACCMODE} mask mistakenly omits @samp{O_SEARCH} and +@samp{O_EXEC} on some platforms: +Cygwin. + +@item +@samp{O_BINARY}, @samp{O_TEXT} (not specified by POSIX, but essential for +portability to Woe32 platforms) are defined on some platforms but not on +others. + +@item +@samp{O_DIRECT}, @samp{O_NDELAY}, @samp{O_NOATIME}, +and @samp{O_NOLINKS} (not specified by POSIX) are defined +on some platforms but not on others. + +@item +@samp{FD_CLOEXEC}, @samp{F_DUPFD}, and @samp{F_GETFD} are not defined +on some platforms: +mingw, MSVC 9. + +@item +@samp{F_DUPFD_CLOEXEC} 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.7.1, mingw, MSVC 9, Interix 3.5, +BeOS. + +@item +@samp{AT_FDCWD}, @samp{AT_EACCESS}, @samp{AT_SYMLINK_NOFOLLOW}, +@samp{AT_SYMLINK_FOLLOW}, and @samp{AT_REMOVEDIR} +are not defined on many platforms: +glibc 2.3.6, 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 8, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS. + +@item +@samp{AT_FDCWD} is defined with a value too large for an @code{int} on some +platforms: +Solaris 11 2010-11. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +@samp{F_SETFD}, @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK}, +@samp{F_SETLK}, @samp{F_SETLOKW}, @samp{F_GETOWN}, and @samp{F_SETOWN} +are not defined on some platforms: +mingw, MSVC 9. + +@item +@samp{POSIX_FADV_DONTNEED}, @samp{POSIX_FADV_NOREUSE}, +@samp{POSIX_FADV_NORMAL}, @samp{POSIX_FADV_RANDOM}, +@samp{POSIX_FADV_SEQUENTIAL}, and @samp{POSIX_FADV_WILLNEED} are not +defined on some platforms. +@end itemize diff --git a/gnulib/doc/posix-headers/fenv.texi b/gnulib/doc/posix-headers/fenv.texi new file mode 100644 index 0000000..c92f7a0 --- /dev/null +++ b/gnulib/doc/posix-headers/fenv.texi @@ -0,0 +1,18 @@ +@node fenv.h +@section @file{fenv.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, IRIX 6.5, OSF/1 5.1, +Cygwin 1.7.7, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/float.texi b/gnulib/doc/posix-headers/float.texi new file mode 100644 index 0000000..09f1388 --- /dev/null +++ b/gnulib/doc/posix-headers/float.texi @@ -0,0 +1,32 @@ +@node float.h +@section @file{float.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/float.h.html} + +Gnulib module: float + +Portability problems fixed by Gnulib: +@itemize +@item +The conversion from @code{int} to @code{long double} in incorrect on some +platforms: +glibc 2.7 on Linux/SPARC64. +@item +The values of @code{LDBL_*} macros are incorrect on some platforms: +On OpenBSD 4.0, MirBSD 10, and BeOS, they are the same as the values of the +@code{DBL_*} macros, although @samp{long double} is a larger type than +@samp{double}. +On FreeBSD/x86 6.4, they represent the incorrect 53-bit precision assumptions +in the compiler, not the real 64-bit precision at runtime. +On Linux/PowerPC with GCC 4.4, on AIX 7.1 with GCC 4.2, and on IRIX 6.5, +they don't reflect the ``double double'' representation of @code{long double} +correctly. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +The macro @code{FLT_ROUNDS} is a constant expression and does not represent +the current rounding mode on some platforms: +glibc 2.11, HP-UX 11, mingw. +@end itemize diff --git a/gnulib/doc/posix-headers/fmtmsg.texi b/gnulib/doc/posix-headers/fmtmsg.texi new file mode 100644 index 0000000..f49d1f1 --- /dev/null +++ b/gnulib/doc/posix-headers/fmtmsg.texi @@ -0,0 +1,17 @@ +@node fmtmsg.h +@section @file{fmtmsg.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/fmtmsg.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/fnmatch.texi b/gnulib/doc/posix-headers/fnmatch.texi new file mode 100644 index 0000000..b5e9ee4 --- /dev/null +++ b/gnulib/doc/posix-headers/fnmatch.texi @@ -0,0 +1,17 @@ +@node fnmatch.h +@section @file{fnmatch.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/fnmatch.h.html} + +Gnulib module: fnmatch-posix or fnmatch-gnu + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/ftw.texi b/gnulib/doc/posix-headers/ftw.texi new file mode 100644 index 0000000..ced004d --- /dev/null +++ b/gnulib/doc/posix-headers/ftw.texi @@ -0,0 +1,17 @@ +@node ftw.h +@section @file{ftw.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/ftw.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, FreeBSD 5.2.1, NetBSD 3.0, Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/glob.texi b/gnulib/doc/posix-headers/glob.texi new file mode 100644 index 0000000..39509d1 --- /dev/null +++ b/gnulib/doc/posix-headers/glob.texi @@ -0,0 +1,17 @@ +@node glob.h +@section @file{glob.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/glob.h.html} + +Gnulib module: glob + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/google-ranking.txt b/gnulib/doc/posix-headers/google-ranking.txt new file mode 100644 index 0000000..fc2b039 --- /dev/null +++ b/gnulib/doc/posix-headers/google-ranking.txt @@ -0,0 +1,84 @@ +<stdio.h> 678000 +<string.h> 589000 +<stdlib.h> 548000 +<unistd.h> 448000 +<sys/types.h> 319000 +<netdb.h> 700 +<sys/wait.h> 600 +<sys/timeb.h> 600 +<sys/resource.h> 600 +<stdarg.h> 600 +<signal.h> 600 +<regex.h> 600 +<netinet/in.h> 600 +<limits.h> 600 +<libgen.h> 600 +<arpa/inet.h> 600 +<wchar.h> 500 +<termios.h> 500 +<sys/un.h> 500 +<sys/uio.h> 500 +<sys/times.h> 500 +<sys/time.h> 500 +<sys/socket.h> 500 +<sys/sem.h> 500 +<sys/select.h> 500 +<stdint.h> 500 +<stdbool.h> 500 +<setjmp.h> 500 +<sched.h> 500 +<pwd.h> 500 +<pthread.h> 500 +<netinet/tcp.h> 500 +<math.h> 500 +<locale.h> 500 +<iconv.h> 500 +<float.h> 500 +<fcntl.h> 500 +<dlfcn.h> 500 +<dirent.h> 500 +<assert.h> 500 +<wctype.h> 400 +<time.h> 400 +<syslog.h> 400 +<sys/utsname.h> 400 +<sys/statvfs.h> 400 +<sys/stat.h> 400 +<sys/shm.h> 400 +<sys/ipc.h> 400 +<stropts.h> 400 +<strings.h> 400 +<semaphore.h> 400 +<search.h> 400 +<poll.h> 400 +<net/if.h> 400 +<ndbm.h> 400 +<langinfo.h> 400 +<inttypes.h> 400 +<grp.h> 400 +<glob.h> 400 +<fnmatch.h> 400 +<errno.h> 400 +<ctype.h> 400 +<utmpx.h> 300 +<utime.h> 300 +<ucontext.h> 300 +<sys/msg.h> 300 +<sys/mman.h> 300 +<stddef.h> 300 +<nl_types.h> 300 +<complex.h> 300 +<ftw.h> 200 +<fenv.h> 200 +<wordexp.h> 100 +<ulimit.h> 100 +<trace.h> 100 +<mqueue.h> 100 +<aio.h> 100 +<tgmath.h> 50 +<tar.h> 50 +<spawn.h> 50 +<monetary.h> 50 +<iso646.h> 50 +<fmtmsg.h> 50 +<cpio.h> 50 diff --git a/gnulib/doc/posix-headers/grp.texi b/gnulib/doc/posix-headers/grp.texi new file mode 100644 index 0000000..d550fed --- /dev/null +++ b/gnulib/doc/posix-headers/grp.texi @@ -0,0 +1,17 @@ +@node grp.h +@section @file{grp.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/grp.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/iconv.texi b/gnulib/doc/posix-headers/iconv.texi new file mode 100644 index 0000000..78a1b25 --- /dev/null +++ b/gnulib/doc/posix-headers/iconv.texi @@ -0,0 +1,21 @@ +@node iconv.h +@section @file{iconv.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/iconv.h.html} + +Gnulib module: iconv + +Portability problems fixed by Gnulib: +@itemize +@item +The <iconv.h> from GNU libiconv is not found if installed in +@file{$PREFIX/include}. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +FreeBSD 6.0, OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 9, BeOS, +when GNU libiconv is not installed. +@end itemize diff --git a/gnulib/doc/posix-headers/inttypes.texi b/gnulib/doc/posix-headers/inttypes.texi new file mode 100644 index 0000000..6ef87bb --- /dev/null +++ b/gnulib/doc/posix-headers/inttypes.texi @@ -0,0 +1,33 @@ +@node inttypes.h +@section @file{inttypes.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/inttypes.h.html} + +Gnulib module: inttypes + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +OSF/1 4.0, MSVC 9, Interix 3.5. +@item +This header file is very incomplete on some platforms. +@item +The PRI* macros are defined to non-string values on AIX 4.3.3. +@item +The declarations of @code{imaxabs} and @code{imaxdiv} are missing on some +platforms: +NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, BeOS. +@item +The declarations of @code{strtoimax} and @code{strtoumax} are missing on some +platforms: +OpenBSD 3.8, AIX 4.3.2, AIX 5.1 (missing only @code{strtoumax}), OSF/1 5.1. +@item +On some hosts that predate C++11, when using C++ one must define +@code{__STDC_FORMAT_MACROS} to make visible the declarations of format +macros such as @code{PRIdMAX}. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/iso646.texi b/gnulib/doc/posix-headers/iso646.texi new file mode 100644 index 0000000..4268a09 --- /dev/null +++ b/gnulib/doc/posix-headers/iso646.texi @@ -0,0 +1,17 @@ +@node iso646.h +@section @file{iso646.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/iso646.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, HP-UX 11.00, IRIX 6.5, OSF/1 4.0, Cygwin, mingw, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/langinfo.texi b/gnulib/doc/posix-headers/langinfo.texi new file mode 100644 index 0000000..bd97405 --- /dev/null +++ b/gnulib/doc/posix-headers/langinfo.texi @@ -0,0 +1,28 @@ +@node langinfo.h +@section @file{langinfo.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/langinfo.h.html} + +Gnulib module: langinfo + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, mingw, MSVC 9, BeOS. +@item +The constant @code{CODESET} is not defined on some platforms: +glibc 2.0.6, OpenBSD 3.8. +@item +The constants @code{ERA}, @code{ERA_D_FMT}, @code{ERA_D_T_FMT}, +@code{ERA_T_FMT}, @code{ALT_DIGITS} are not defined on some platforms: +OpenBSD 3.8. +@item +The constants @code{T_FMT_AMPM}, @code{YESEXPR}, @code{NOEXPR} are not +defined on some platforms: +IRIX 5.3. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/libgen.texi b/gnulib/doc/posix-headers/libgen.texi new file mode 100644 index 0000000..7667cbb --- /dev/null +++ b/gnulib/doc/posix-headers/libgen.texi @@ -0,0 +1,17 @@ +@node libgen.h +@section @file{libgen.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/libgen.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/limits.texi b/gnulib/doc/posix-headers/limits.texi new file mode 100644 index 0000000..c7bc7ba --- /dev/null +++ b/gnulib/doc/posix-headers/limits.texi @@ -0,0 +1,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. diff --git a/gnulib/doc/posix-headers/locale.texi b/gnulib/doc/posix-headers/locale.texi new file mode 100644 index 0000000..5f8dc8c --- /dev/null +++ b/gnulib/doc/posix-headers/locale.texi @@ -0,0 +1,26 @@ +@node locale.h +@section @file{locale.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html} + +Gnulib module: locale + +Portability problems fixed by Gnulib: +@itemize +@item +The definition of @samp{LC_MESSAGES} is missing on some platforms: +mingw, MSVC 9. + +@item +The @code{locale_t} type is not defined on some platforms: +glibc 2.11, MacOS X 10.5. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/math.texi b/gnulib/doc/posix-headers/math.texi new file mode 100644 index 0000000..d181f76 --- /dev/null +++ b/gnulib/doc/posix-headers/math.texi @@ -0,0 +1,38 @@ +@node math.h +@section @file{math.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html} + +Gnulib module: math + +Portability problems fixed by Gnulib: +@itemize +@item +The conversion from @code{int} to @code{long double} in incorrect on some +platforms: +glibc 2.7 on Linux/SPARC64. + +@item +The macro @code{NAN} is not defined on some platforms: +OpenBSD 4.0, AIX 5.1, IRIX 6.5, OSF/1 5.1. + +@item +The macro @code{NAN} is not exposed outside of C99 compilation on some +platforms: +glibc. + +@item +The macros @code{NAN} and @code{HUGE_VAL} expand to a function address +rather than a floating point constant on some platforms: +Solaris 10. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +@code{NAN} is not a compile time constant with some compilers: +OSF/1 with Compaq (ex-DEC) C 6.4. +@item +The macro or variable @code{math_errhandling} is not defined on some platforms: +glibc 2.11, OpenBSD 4.9, NetBSD 5.1, UP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.7.9, mingw, MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/monetary.texi b/gnulib/doc/posix-headers/monetary.texi new file mode 100644 index 0000000..95170eb --- /dev/null +++ b/gnulib/doc/posix-headers/monetary.texi @@ -0,0 +1,17 @@ +@node monetary.h +@section @file{monetary.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/monetary.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/mqueue.texi b/gnulib/doc/posix-headers/mqueue.texi new file mode 100644 index 0000000..ae65bca --- /dev/null +++ b/gnulib/doc/posix-headers/mqueue.texi @@ -0,0 +1,18 @@ +@node mqueue.h +@section @file{mqueue.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.5, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, Interix 3.5, +BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/ndbm.texi b/gnulib/doc/posix-headers/ndbm.texi new file mode 100644 index 0000000..71590f3 --- /dev/null +++ b/gnulib/doc/posix-headers/ndbm.texi @@ -0,0 +1,17 @@ +@node ndbm.h +@section @file{ndbm.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/ndbm.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/net_if.texi b/gnulib/doc/posix-headers/net_if.texi new file mode 100644 index 0000000..38a52f4 --- /dev/null +++ b/gnulib/doc/posix-headers/net_if.texi @@ -0,0 +1,17 @@ +@node net/if.h +@section @file{net/if.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/net_if.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/netdb.texi b/gnulib/doc/posix-headers/netdb.texi new file mode 100644 index 0000000..2dd3c08 --- /dev/null +++ b/gnulib/doc/posix-headers/netdb.texi @@ -0,0 +1,30 @@ +@node netdb.h +@section @file{netdb.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html} + +Gnulib module: netdb + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. + +@item +This header file is incomplete on some platforms: +Cygwin 1.5.x, Haiku. + +@item +This header file does not define the type @code{socklen_t} on some platforms: +HP-UX 10.20, IRIX 6.5, OSF/1 4.0, Interix 3.5, BeOS. + +@item +This header file does not define @code{AI_ALL}, @code{AI_V4MAPPED}, +@code{AI_ADDRCONFIG} on some platforms: +NetBSD 5.0. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/netinet_in.texi b/gnulib/doc/posix-headers/netinet_in.texi new file mode 100644 index 0000000..23262e2 --- /dev/null +++ b/gnulib/doc/posix-headers/netinet_in.texi @@ -0,0 +1,21 @@ +@node netinet/in.h +@section @file{netinet/in.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html} + +Gnulib module: netinet_in + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@item +This header file is not self-contained on some platforms (it requires +@code{<sys/types.h>} to be included first): +OpenBSD 4.6. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/netinet_tcp.texi b/gnulib/doc/posix-headers/netinet_tcp.texi new file mode 100644 index 0000000..f3297de --- /dev/null +++ b/gnulib/doc/posix-headers/netinet_tcp.texi @@ -0,0 +1,17 @@ +@node netinet/tcp.h +@section @file{netinet/tcp.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_tcp.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/nl_types.texi b/gnulib/doc/posix-headers/nl_types.texi new file mode 100644 index 0000000..a352884 --- /dev/null +++ b/gnulib/doc/posix-headers/nl_types.texi @@ -0,0 +1,18 @@ +@node nl_types.h +@section @file{nl_types.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/nl_types.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/poll.texi b/gnulib/doc/posix-headers/poll.texi new file mode 100644 index 0000000..b212a36 --- /dev/null +++ b/gnulib/doc/posix-headers/poll.texi @@ -0,0 +1,20 @@ +@node poll.h +@section @file{poll.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html} + +Gnulib module: poll-h + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file does not defined @code{nfds_t} on some platforms: +IRIX 5.3. +@end itemize diff --git a/gnulib/doc/posix-headers/pthread.texi b/gnulib/doc/posix-headers/pthread.texi new file mode 100644 index 0000000..5fb1d2e --- /dev/null +++ b/gnulib/doc/posix-headers/pthread.texi @@ -0,0 +1,17 @@ +@node pthread.h +@section @file{pthread.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/pwd.texi b/gnulib/doc/posix-headers/pwd.texi new file mode 100644 index 0000000..51e1f94 --- /dev/null +++ b/gnulib/doc/posix-headers/pwd.texi @@ -0,0 +1,17 @@ +@node pwd.h +@section @file{pwd.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/pwd.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/regex.texi b/gnulib/doc/posix-headers/regex.texi new file mode 100644 index 0000000..e0494fc --- /dev/null +++ b/gnulib/doc/posix-headers/regex.texi @@ -0,0 +1,20 @@ +@node regex.h +@section @file{regex.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/regex.h.html} + +Gnulib module: regex + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is not self-contained on some platforms: it requires +@code{<sys/types.h>} to be included first. +@end itemize diff --git a/gnulib/doc/posix-headers/sched.texi b/gnulib/doc/posix-headers/sched.texi new file mode 100644 index 0000000..8dacddf --- /dev/null +++ b/gnulib/doc/posix-headers/sched.texi @@ -0,0 +1,27 @@ +@node sched.h +@section @file{sched.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sched.h.html} + +Gnulib module: sched + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, mingw, MSVC 9, BeOS. +@item +This header file does not define the type @code{pid_t} on some platforms: +glibc 2.11, MacOS X 10.5. +@item +@code{struct sched_param} is not defined on some platforms: +Haiku. +@item +@code{SCHED_FIFO}, @code{SCHED_RR}, @code{SCHED_OTHER} are not defined on +some platforms: +Haiku. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/search.texi b/gnulib/doc/posix-headers/search.texi new file mode 100644 index 0000000..d33ace5 --- /dev/null +++ b/gnulib/doc/posix-headers/search.texi @@ -0,0 +1,17 @@ +@node search.h +@section @file{search.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/search.h.html} + +Gnulib module: search + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/semaphore.texi b/gnulib/doc/posix-headers/semaphore.texi new file mode 100644 index 0000000..adc363b --- /dev/null +++ b/gnulib/doc/posix-headers/semaphore.texi @@ -0,0 +1,17 @@ +@node semaphore.h +@section @file{semaphore.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/semaphore.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/setjmp.texi b/gnulib/doc/posix-headers/setjmp.texi new file mode 100644 index 0000000..07e6c5d --- /dev/null +++ b/gnulib/doc/posix-headers/setjmp.texi @@ -0,0 +1,14 @@ +@node setjmp.h +@section @file{setjmp.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/setjmp.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/signal.texi b/gnulib/doc/posix-headers/signal.texi new file mode 100644 index 0000000..99ad79e --- /dev/null +++ b/gnulib/doc/posix-headers/signal.texi @@ -0,0 +1,61 @@ +@node signal.h +@section @file{signal.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html} + +Gnulib module: signal-h + +Portability problems fixed by Gnulib: +@itemize +@item +@code{volatile sig_atomic_t} is rejected by older compilers on some +platforms: +AIX. +@item +@code{sigset_t} is missing on some platforms: +MSVC 9. +@item +@code{sigset_t} is only declared in <sys/types.h> on some platforms: +mingw. +@item +@code{struct sigaction} and @code{siginfo_t} are missing on some +platforms: +mingw, MSVC 9. +@item +@code{struct sigaction} lacks the @code{sa_sigaction} member on some +platforms: +Irix 5.3, Interix 3.5. +@item +The type @code{pid_t} is not defined on some platforms: +MSVC 9. +@item +The signal @code{SIGPIPE} is not defined on some platforms: +mingw, MSVC 9. +@item +The macro @code{SA_NODEFER} is not defined on some platforms: +Interix 3.5. +@item +The macros @code{SA_RESETHAND} and @code{SA_RESTART} are not defined +on some platforms: +NonStop. +@item +The type @code{sighandler_t} (a GNU extension) is not defined on most non-glibc +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, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +Many signals are not defined on some platforms: +mingw, MSVC 9. +@item +The macros @code{SIGRTMIN} and @code{SIGRTMAX} expand to an expression of type +@code{long} instead of @code{int} on some platforms: +OSF/1 5.1. +@item +The macro @code{SIGBUS} is set to the same value as @code{SIGSEGV}, +rather than being a distinct signal, on some platforms: +Haiku. +@end itemize diff --git a/gnulib/doc/posix-headers/spawn.texi b/gnulib/doc/posix-headers/spawn.texi new file mode 100644 index 0000000..9bcbd3e --- /dev/null +++ b/gnulib/doc/posix-headers/spawn.texi @@ -0,0 +1,18 @@ +@node spawn.h +@section @file{spawn.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/spawn.h.html} + +Gnulib module: spawn + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/stdalign.texi b/gnulib/doc/posix-headers/stdalign.texi new file mode 100644 index 0000000..bebc70d --- /dev/null +++ b/gnulib/doc/posix-headers/stdalign.texi @@ -0,0 +1,53 @@ +@node stdalign.h +@section @file{stdalign.h} + +POSIX specification:@* Not in POSIX yet, but we expect it will be. +ISO C1X @url{http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf} +sections 6.5.3.4, 6.7.5, 7.15. +C++0X @url{http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf} +section 18.10. + +Gnulib module: stdalign + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on most circa-2011 platforms. +@item +Clang 3.0's @code{<stdalign.h>} does not define @code{alignof}/@code{_Alignof}. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +@code{_Alignas} and @code{alignas} are not always supported; +on platforms lacking support, the +macro @code{__alignas_is_defined} is not defined. +Supported compilers include GCC, IBM C, Sun C 5.11 and later, +and MSVC 7.0 and later. +@item +Some compilers do not support alignment via +@code{alignas}/@code{_Alignas} of @code{auto} variables (i.e., +variables on the stack). They diagnose and ignore the alignment: Sun +C 5.11. +@item +Some linkers do not support operands of @code{_Alignas}/@code{alignas} +that are greater than 8: mingw. +@item +Some compilers require the operand of @code{_Alignas}/@code{alignas} +to be a single integer constant, not an expression: MSVC 7.0 through +at least 10.0. +@item +The Sun C 5.11 compiler sometimes mishandles the alignment of multiple +external variables that are declared close together with +@code{_Alignas}/@code{alignas}. This compiler bug causes the Gnulib +module @code{stdalign-tests} to fail. The Sun Studio Developer Bug +Report Review Team assigned the internal review ID 2125432 (dated +2011-11-01) to this issue. +@item +@code{<stdalign.h>} must be #included before @samp{_Alignas} and +@samp{_Alignof} can be used. +@item +You cannot assume that @code{_Alignas} and @code{_Alignof} are reserved words; +they might be macros. +@end itemize diff --git a/gnulib/doc/posix-headers/stdarg.texi b/gnulib/doc/posix-headers/stdarg.texi new file mode 100644 index 0000000..2c500d3 --- /dev/null +++ b/gnulib/doc/posix-headers/stdarg.texi @@ -0,0 +1,17 @@ +@node stdarg.h +@section @file{stdarg.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdarg.h.html} + +Gnulib module: stdarg + +Portability problems fixed by Gnulib: +@itemize +@item +Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode for the builtin +@code{va_copy} to work. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/stdbool.texi b/gnulib/doc/posix-headers/stdbool.texi new file mode 100644 index 0000000..de27763 --- /dev/null +++ b/gnulib/doc/posix-headers/stdbool.texi @@ -0,0 +1,36 @@ +@node stdbool.h +@section @file{stdbool.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdbool.h.html} + +Gnulib module: stdbool + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1. +@item +Some compilers have bugs relating to @samp{bool}. +@item +This header file defines @code{true} incorrectly on some platforms: +OpenBSD 4.7 with gcc 2.95. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +@code{<stdbool.h>} must be #included before @samp{_Bool} can be used. +@item +You cannot assume that @code{_Bool} is a typedef; it might be a macro. +@item +Bit-fields of type @samp{bool} are not supported. Portable code +should use @samp{unsigned int foo : 1;} rather than @samp{bool foo : 1;}. +@item +Casts and automatic conversions to @samp{bool} don't test against the +zero value or the null pointer, as they should. Such casts should only +be used if the casted value is known to be equal to 0 or 1. +@item +You cannot assume that casting a floating point literal to @samp{bool} will +result in a constant expression. +@end itemize diff --git a/gnulib/doc/posix-headers/stddef.texi b/gnulib/doc/posix-headers/stddef.texi new file mode 100644 index 0000000..97e6c96 --- /dev/null +++ b/gnulib/doc/posix-headers/stddef.texi @@ -0,0 +1,28 @@ +@node stddef.h +@section @file{stddef.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stddef.h.html} + +Gnulib module: stddef + +Portability problems fixed by Gnulib: +@itemize +@item +Some old platforms fail to provide @code{wchar_t}. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +Some platforms provide an @code{offsetof} macro that cannot be used in +arbitrary expressions: +Solaris 11 2010-11 +This problem can be worked around by parenthesizing the +@code{offsetof} expression in the unlikely case you use it with +@code{sizeof} or @samp{[]}. +@end itemize diff --git a/gnulib/doc/posix-headers/stdint.texi b/gnulib/doc/posix-headers/stdint.texi new file mode 100644 index 0000000..be19269 --- /dev/null +++ b/gnulib/doc/posix-headers/stdint.texi @@ -0,0 +1,72 @@ +@node stdint.h +@section @file{stdint.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdint.h.html} + +Gnulib module: stdint + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +OpenBSD 3.8, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, MSVC 9, Interix 3.5, BeOS. +@item +This header file is very incomplete on some platforms. +@item +The values of @code{SIG_ATOMIC_MIN} and @code{SIG_ATOMIC_MAX} are incorrect +on some platforms: +FreeBSD 6.2 / ia64. +@item +The value of @code{WINT_MAX} is incorrect on some platforms: +mingw. +@item +The values of @code{INT8_MAX}, @code{UINT8_MAX} etc. are not usable in +preprocessor expressions on some platforms: +HP-UX 11.23. +@item +The macros @code{WCHAR_MIN} and @code{WCHAR_MAX} are not defined in +@code{<stdint.h>} (only in @code{<wchar.h>}) on some platforms: +Dragonfly, BSDI. +@item +On some hosts that predate C++11, when using C++ one must define +@code{__STDC_CONSTANT_MACROS} to make visible the definitions of +constant macros such as @code{INTMAX_C}, and one must define +@code{__STDC_LIMIT_MACROS} to make visible the definitions of limit +macros such as @code{INTMAX_MAX}. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +@code{@{uint,int@}_fast@{8,16,32,64@}_t} may not correspond to the fastest +types available on the system. +@item +Macros are used instead of typedefs. +@item +Some C preprocessors mishandle constants that do not fit in @code{long int}. +For example, as of 2007, Sun C mishandles @code{#if LLONG_MIN < 0} on +a platform with 32-bit @code{long int} and 64-bit @code{long long int}. +Some older preprocessors mishandle constants ending in @code{LL}. +To work around these problems, compute the value of expressions like +@code{LONG_MAX < LLONG_MAX} at @code{configure}-time rather than at +@code{#if}-time. +@end itemize + +The stdint.h module uses @code{#include_next}. If you wish to install +the generated stdint.h file under another name, typically in order to +be able to use some of the types defined by stdint.h in your public +header file, you could use the following Makefile.am-snippet: + +@example + +BUILT_SOURCES += idn-int.h +DISTCLEANFILES += idn-int.h +nodist_include_HEADERS += idn-int.h + +idn-int.h: + if test -n "$(STDINT_H)"; then \ + sed -e s/include_next/include/ gl/stdint.h > idn-int.h; \ + else \ + echo '#include <stdint.h>' > idn-int.h; \ + fi +@end example diff --git a/gnulib/doc/posix-headers/stdio.texi b/gnulib/doc/posix-headers/stdio.texi new file mode 100644 index 0000000..892290f --- /dev/null +++ b/gnulib/doc/posix-headers/stdio.texi @@ -0,0 +1,27 @@ +@node stdio.h +@section @file{stdio.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html} + +Gnulib module: stdio + +Portability problems fixed by Gnulib: +@itemize +@item +The type @code{off_t} is missing on some platforms: +glibc 2.8, eglibc 2.11.2 and others. +@item +The type @code{ssize_t} is missing on some platforms: +glibc 2.8, MacOS X 10.5, Solaris 10, MSVC 9, and others. +@item +The type @code{va_list} is missing on some platforms: +glibc 2.8, OpenBSD 4.0, Solaris 11 2010-11, and others. +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/stdlib.texi b/gnulib/doc/posix-headers/stdlib.texi new file mode 100644 index 0000000..abe8d65 --- /dev/null +++ b/gnulib/doc/posix-headers/stdlib.texi @@ -0,0 +1,38 @@ +@node stdlib.h +@section @file{stdlib.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html} + +Gnulib module: stdlib, system-posix + +Portability problems fixed by the Gnulib module @code{stdlib}: +@itemize +@item +The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on +some platforms. +@item +The macro @code{EXIT_FAILURE} is incorrectly defined on Tandem/NSK. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems fixed by the Gnulib module @code{system-posix}: +@itemize +@item +The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED}, +@code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED}, +@code{WSTOPSIG} are not defined in this header file (only in +@code{<sys/wait.h>}) on some platforms: +MirBSD 10. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +System status macros such as @code{WEXITSTATUS} require an lvalue +argument on some platforms. +MacOS X 10.5. +@end itemize diff --git a/gnulib/doc/posix-headers/string.texi b/gnulib/doc/posix-headers/string.texi new file mode 100644 index 0000000..bc4c803 --- /dev/null +++ b/gnulib/doc/posix-headers/string.texi @@ -0,0 +1,18 @@ +@node string.h +@section @file{string.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/string.h.html} + +Gnulib module: string + +Portability problems fixed by Gnulib: +@itemize +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/strings.texi b/gnulib/doc/posix-headers/strings.texi new file mode 100644 index 0000000..63713ee --- /dev/null +++ b/gnulib/doc/posix-headers/strings.texi @@ -0,0 +1,23 @@ +@node strings.h +@section @file{strings.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/strings.h.html} + +Gnulib module: strings + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is not self-contained on some platforms: +Minix 3.1.8. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MSVC 9. +@item +This header file defines symbols, such as @samp{index}, often used for +variables, making debugging harder. +@end itemize diff --git a/gnulib/doc/posix-headers/stropts.texi b/gnulib/doc/posix-headers/stropts.texi new file mode 100644 index 0000000..57bd006 --- /dev/null +++ b/gnulib/doc/posix-headers/stropts.texi @@ -0,0 +1,17 @@ +@node stropts.h +@section @file{stropts.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stropts.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_ipc.texi b/gnulib/doc/posix-headers/sys_ipc.texi new file mode 100644 index 0000000..eb8e4c7 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_ipc.texi @@ -0,0 +1,17 @@ +@node sys/ipc.h +@section @file{sys/ipc.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_ipc.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_mman.texi b/gnulib/doc/posix-headers/sys_mman.texi new file mode 100644 index 0000000..21a5236 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_mman.texi @@ -0,0 +1,17 @@ +@node sys/mman.h +@section @file{sys/mman.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_mman.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_msg.texi b/gnulib/doc/posix-headers/sys_msg.texi new file mode 100644 index 0000000..c4ff411 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_msg.texi @@ -0,0 +1,17 @@ +@node sys/msg.h +@section @file{sys/msg.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_msg.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_resource.texi b/gnulib/doc/posix-headers/sys_resource.texi new file mode 100644 index 0000000..bcd9cc5 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_resource.texi @@ -0,0 +1,22 @@ +@node sys/resource.h +@section @file{sys/resource.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. + +@item +On some platforms, this header file requires that <sys/types.h> and +<sys/time.h> already be included: +FreeBSD 5.0. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_select.texi b/gnulib/doc/posix-headers/sys_select.texi new file mode 100644 index 0000000..71d80a8 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_select.texi @@ -0,0 +1,27 @@ +@node sys/select.h +@section @file{sys/select.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html} + +Gnulib module: sys_select + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +HP-UX 11.11, NonStop Kernel, mingw, MSVC 9, BeOS. +@item +This header file is not self-contained on some platforms: it requires +@code{<sys/types.h>} to be included first. +@item +This header file does not define @code{struct timeval} on some platforms: +OSF/1 4.0. +@item +This header file is not self-contained --- it requires @code{<string.h>} +before @code{FD_ZERO} can be used --- on some platforms: +AIX 7.1, Solaris 11 2010-11. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_sem.texi b/gnulib/doc/posix-headers/sys_sem.texi new file mode 100644 index 0000000..c8deba8 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_sem.texi @@ -0,0 +1,17 @@ +@node sys/sem.h +@section @file{sys/sem.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_sem.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_shm.texi b/gnulib/doc/posix-headers/sys_shm.texi new file mode 100644 index 0000000..ef3f5b4 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_shm.texi @@ -0,0 +1,17 @@ +@node sys/shm.h +@section @file{sys/shm.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_shm.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_socket.texi b/gnulib/doc/posix-headers/sys_socket.texi new file mode 100644 index 0000000..4aa224a --- /dev/null +++ b/gnulib/doc/posix-headers/sys_socket.texi @@ -0,0 +1,41 @@ +@node sys/socket.h +@section @file{sys/socket.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html} + +Gnulib module: sys_socket + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@item +This header file is not self-contained on some platforms: it requires +@code{<sys/types.h>} to be included first. +@item +This header file does not define the type @code{socklen_t} on some platforms: +HP-UX 10.20, IRIX 6.5, OSF/1 4.0, Interix 3.5, BeOS. +@item +This header file does not define the type @code{struct iovec} on some platforms: +OpenBSD 4.4. +@item +This header file is lacking the @code{SHUT_RD}, @code{SHUT_WR}, +@code{SHUT_RDWR} macros on some platforms, despite having the @code{shutdown} +functions: +emx+gcc. +@item +The @code{struct sockaddr_storage} type does not have a member @code{ss_family} +on some platforms: +AIX 7.1. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file does not declare the @code{msg_control} and +@code{msg_controllen} members of @code{struct msghdr} on some +platforms. This can be detected by the absence of the +@code{CMSG_FIRSTHDR} macro: +gnulib replacement header, old BSD +@end itemize diff --git a/gnulib/doc/posix-headers/sys_stat.texi b/gnulib/doc/posix-headers/sys_stat.texi new file mode 100644 index 0000000..47b29f7 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_stat.texi @@ -0,0 +1,39 @@ +@node sys/stat.h +@section @file{sys/stat.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html} + +Gnulib module: sys_stat + +Portability problems fixed by Gnulib: +@itemize +@item +The type @code{mode_t} is not defined on some platforms: +MSVC 9. +@item +Some macros, such as @code{S_IFMT} or @code{S_IFIFO}, are missing on some +platforms. +@item +The macros @code{S_ISBLK}, @code{S_ISCHR}, @code{S_ISDIR}, @code{S_ISFIFO}, +@code{S_ISLNK}, @code{S_ISREG}, @code{S_ISSOCK} are broken on some platforms. +@item +Some platforms define macros, such as @code{S_ISDOOR}, that are not defined +on other platforms. +@item +The functions @code{lstat} and @code{mkdir} are not declared on some platforms: +mingw, MSVC 9. +@item +The macros @code{UTIME_NOW} and @code{UTIME_OMIT} are missing on some +platforms. +@item +On some platforms, @code{struct stat} does not include @code{st_atim}, +@code{st_mtim}, or @code{st_ctim} members. Use the gnulib module +@samp{stat-time} for accessors to portably get at subsecond resolution. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +The macro @code{S_IFBLK} is missing on some platforms: +MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_statvfs.texi b/gnulib/doc/posix-headers/sys_statvfs.texi new file mode 100644 index 0000000..b4179e3 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_statvfs.texi @@ -0,0 +1,17 @@ +@node sys/statvfs.h +@section @file{sys/statvfs.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_statvfs.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, OpenBSD 3.8, mingw, MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_time.texi b/gnulib/doc/posix-headers/sys_time.texi new file mode 100644 index 0000000..f935087 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_time.texi @@ -0,0 +1,19 @@ +@node sys/time.h +@section @file{sys/time.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html} + +Gnulib module: sys_time + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MSVC 9. +@item +@samp{struct timeval} is not defined on some platforms. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_timeb.texi b/gnulib/doc/posix-headers/sys_timeb.texi new file mode 100644 index 0000000..9ea9a2b --- /dev/null +++ b/gnulib/doc/posix-headers/sys_timeb.texi @@ -0,0 +1,14 @@ +@node sys/timeb.h +@section @file{sys/timeb.h} + +POSIX specification:@* @url{http://www.opengroup.org/susv3xbd/sys/timeb.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_times.texi b/gnulib/doc/posix-headers/sys_times.texi new file mode 100644 index 0000000..d375592 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_times.texi @@ -0,0 +1,17 @@ +@node sys/times.h +@section @file{sys/times.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_times.h.html} + +Gnulib module: sys_times + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_types.texi b/gnulib/doc/posix-headers/sys_types.texi new file mode 100644 index 0000000..35d24c0 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_types.texi @@ -0,0 +1,26 @@ +@node sys/types.h +@section @file{sys/types.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html} + +Gnulib module: sys_types + +Portability problems fixed by Gnulib: +@itemize +@item +The type @code{pid_t} is not defined on some platforms: +MSVC 9. +@item +The type @code{size_t} is not defined in this file on some platforms: +MSVC 9. +@item +The type @code{ssize_t} is not defined on some platforms: +MSVC 9. +@item +The type @code{mode_t} is not defined on some platforms: +MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_uio.texi b/gnulib/doc/posix-headers/sys_uio.texi new file mode 100644 index 0000000..0440efe --- /dev/null +++ b/gnulib/doc/posix-headers/sys_uio.texi @@ -0,0 +1,21 @@ +@node sys/uio.h +@section @file{sys/uio.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_uio.h.html} + +Gnulib module: sys_uio + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@item +This header file is not self-contained (it requires @code{<sys/types.h>} to be +included first) on some platforms: +OpenBSD 4.4. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_un.texi b/gnulib/doc/posix-headers/sys_un.texi new file mode 100644 index 0000000..78c848e --- /dev/null +++ b/gnulib/doc/posix-headers/sys_un.texi @@ -0,0 +1,17 @@ +@node sys/un.h +@section @file{sys/un.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_un.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/sys_utsname.texi b/gnulib/doc/posix-headers/sys_utsname.texi new file mode 100644 index 0000000..4362038 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_utsname.texi @@ -0,0 +1,20 @@ +@node sys/utsname.h +@section @file{sys/utsname.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_utsname.h.html} + +Gnulib module: sys_utsname + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@item +This header file is not self-contained on some platforms: +Minix 3.1.8. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/sys_wait.texi b/gnulib/doc/posix-headers/sys_wait.texi new file mode 100644 index 0000000..e80c2a9 --- /dev/null +++ b/gnulib/doc/posix-headers/sys_wait.texi @@ -0,0 +1,21 @@ +@node sys/wait.h +@section @file{sys/wait.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html} + +Gnulib module: sys_wait + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +System status macros such as @code{WEXITSTATUS} require an lvalue +argument on some platforms. +MacOS X 10.5. +@end itemize diff --git a/gnulib/doc/posix-headers/syslog.texi b/gnulib/doc/posix-headers/syslog.texi new file mode 100644 index 0000000..7ef54df --- /dev/null +++ b/gnulib/doc/posix-headers/syslog.texi @@ -0,0 +1,17 @@ +@node syslog.h +@section @file{syslog.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/syslog.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/tar.texi b/gnulib/doc/posix-headers/tar.texi new file mode 100644 index 0000000..80e5204 --- /dev/null +++ b/gnulib/doc/posix-headers/tar.texi @@ -0,0 +1,17 @@ +@node tar.h +@section @file{tar.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/tar.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/termios.texi b/gnulib/doc/posix-headers/termios.texi new file mode 100644 index 0000000..11d4d99 --- /dev/null +++ b/gnulib/doc/posix-headers/termios.texi @@ -0,0 +1,21 @@ +@node termios.h +@section @file{termios.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html} + +Gnulib module: termios + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +mingw, MSVC 9. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +The types @code{struct termios}, @code{cc_t}, @code{speed_t}, @code{tcflag_t} +are not defined on some platforms: +mingw, MSVC 9. +@end itemize diff --git a/gnulib/doc/posix-headers/tgmath.texi b/gnulib/doc/posix-headers/tgmath.texi new file mode 100644 index 0000000..4d9c1e1 --- /dev/null +++ b/gnulib/doc/posix-headers/tgmath.texi @@ -0,0 +1,18 @@ +@node tgmath.h +@section @file{tgmath.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/tgmath.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.5, FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/time.texi b/gnulib/doc/posix-headers/time.texi new file mode 100644 index 0000000..5b23203 --- /dev/null +++ b/gnulib/doc/posix-headers/time.texi @@ -0,0 +1,21 @@ +@node time.h +@section @file{time.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html} + +Gnulib module: time + +Portability problems fixed by Gnulib: +@itemize +@item +@samp{struct timespec} is not defined on some platforms. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/trace.texi b/gnulib/doc/posix-headers/trace.texi new file mode 100644 index 0000000..35e6a52 --- /dev/null +++ b/gnulib/doc/posix-headers/trace.texi @@ -0,0 +1,18 @@ +@node trace.h +@section @file{trace.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/trace.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/ucontext.texi b/gnulib/doc/posix-headers/ucontext.texi new file mode 100644 index 0000000..45b05e6 --- /dev/null +++ b/gnulib/doc/posix-headers/ucontext.texi @@ -0,0 +1,17 @@ +@node ucontext.h +@section @file{ucontext.h} + +POSIX specification:@* @url{http://www.opengroup.org/susv3xbd/ucontext.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +OpenBSD 3.8, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/ulimit.texi b/gnulib/doc/posix-headers/ulimit.texi new file mode 100644 index 0000000..9a3e12c --- /dev/null +++ b/gnulib/doc/posix-headers/ulimit.texi @@ -0,0 +1,17 @@ +@node ulimit.h +@section @file{ulimit.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/ulimit.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +OpenBSD 3.8, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/unistd.texi b/gnulib/doc/posix-headers/unistd.texi new file mode 100644 index 0000000..7beb4c2 --- /dev/null +++ b/gnulib/doc/posix-headers/unistd.texi @@ -0,0 +1,31 @@ +@node unistd.h +@section @file{unistd.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html} + +Gnulib module: unistd + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MSVC 9. +@item +The SEEK_* macros are not defined in this file on some platforms: +mingw. +@item +The *_FILENO macros are not defined in this file on some platforms: +OS/2 EMX, mingw. +@item +The @code{_exit} function is not declared in this file on some platforms: +mingw. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/utime.texi b/gnulib/doc/posix-headers/utime.texi new file mode 100644 index 0000000..cdeb019 --- /dev/null +++ b/gnulib/doc/posix-headers/utime.texi @@ -0,0 +1,17 @@ +@node utime.h +@section @file{utime.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/utime.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: MSVC 9. Use @code{<sys/utime.h>} +if @code{<utime.h>} is missing. +@end itemize diff --git a/gnulib/doc/posix-headers/utmpx.texi b/gnulib/doc/posix-headers/utmpx.texi new file mode 100644 index 0000000..138c585 --- /dev/null +++ b/gnulib/doc/posix-headers/utmpx.texi @@ -0,0 +1,17 @@ +@node utmpx.h +@section @file{utmpx.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, FreeBSD 6.0, OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 9, BeOS. +@end itemize diff --git a/gnulib/doc/posix-headers/wchar.texi b/gnulib/doc/posix-headers/wchar.texi new file mode 100644 index 0000000..1478244 --- /dev/null +++ b/gnulib/doc/posix-headers/wchar.texi @@ -0,0 +1,36 @@ +@node wchar.h +@section @file{wchar.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html} + +Gnulib module: wchar + +Portability problems fixed by Gnulib: +@itemize +@item +This header file cannot be included on some platforms: +Linux uClibc built without wide character support. +@item +This header file is not self-contained on some platforms: +OSF/1 with Desktop Toolkit C, BSD/OS 4.0.1. +@item +The type @code{wint_t} and macro @code{WEOF} are missing on some platforms: +IRIX 5.3. +@item +The type @code{wint_t} is incorrect on some platforms: +MSVC 9. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file leads to link errors and endless recursions or endless loops +on some platforms: +glibc version 2.5 or older, together with gcc version 4.3 or newer and the +option @samp{-std=c99} or @samp{-std=gnu99}. +@end itemize diff --git a/gnulib/doc/posix-headers/wctype.texi b/gnulib/doc/posix-headers/wctype.texi new file mode 100644 index 0000000..6d2e319 --- /dev/null +++ b/gnulib/doc/posix-headers/wctype.texi @@ -0,0 +1,39 @@ +@node wctype.h +@section @file{wctype.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/wctype.h.html} + +Gnulib module: wctype-h + +Portability problems fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +HP-UX 11.00, BeOS. +@item +This header file is not self-contained on some platforms: +Solaris 2.5, OSF/1 with Desktop Toolkit C, BSD/OS 4.0.1. +@item +The type @code{wint_t} and macro @code{WEOF} are missing on some platforms: +IRIX 5.3. +@item +The type @code{wint_t} is incorrect on some platforms: +MSVC 9. +@item +The functions @code{isw*} are missing on some platforms: +FreeBSD 4.11. +@item +The function @code{iswblank} is declared but not defined on some platforms: +IRIX 6.5.30. +@item +The functions @code{isw*} are actually defined as macros that don't work, +on IRIX 5.3. +@item +This header file defines some identifiers, such as @code{multibyte}, as macros +on some platforms: +Solaris 2.6. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize diff --git a/gnulib/doc/posix-headers/wordexp.texi b/gnulib/doc/posix-headers/wordexp.texi new file mode 100644 index 0000000..e65e5ea --- /dev/null +++ b/gnulib/doc/posix-headers/wordexp.texi @@ -0,0 +1,17 @@ +@node wordexp.h +@section @file{wordexp.h} + +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/wordexp.h.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This header file is missing on some platforms: +MacOS X 10.3, OpenBSD 3.8, Minix 3.1.8, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS. +@end itemize |