X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Ffcntl.texi;h=c87e8726d4807823860003e7066ca7877dc6d6cc;hb=176cd193605775b290fee26568eec5d1ebd47f58;hp=4b543d6e7e59eadd5ef9826d0b9567bad3a4118a;hpb=6ef93da4cacc1865683aa3d3d6e0a97e0ed3e429;p=gnulib.git diff --git a/doc/posix-headers/fcntl.texi b/doc/posix-headers/fcntl.texi index 4b543d6e7..c87e8726d 100644 --- a/doc/posix-headers/fcntl.texi +++ b/doc/posix-headers/fcntl.texi @@ -9,15 +9,25 @@ Portability problems fixed by Gnulib: @itemize @item @samp{O_CLOEXEC}, @samp{O_DIRECTORY}, @samp{O_DSYNC}, @samp{O_NOCTTY}, -@samp{O_NOFOLLOW}, @samp{O_NONBLOCK}, @samp{O_RSYNC}, @samp{O_SYNC}, +@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. +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 +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. @@ -35,7 +45,7 @@ mingw. @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 10, Cygwin 1.7.1, mingw, Interix 3.5, +IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.1, mingw, Interix 3.5, BeOS. @item @@ -48,7 +58,7 @@ glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX @item @samp{AT_FDCWD} is defined with a value too large for an @code{int} on some platforms: -Solaris 10. +Solaris 11 2010-11. @end itemize Portability problems not fixed by Gnulib: