Mercurial > hg > octave-kai > gnulib-hg
view doc/posix-headers/fcntl.texi @ 11877:18205f9302ac
fcntl-h: add O_TTY_INIT support
* lib/fcntl.in.h (O_TTY_INIT): Support another POSIX macro.
* tests/test-fcntl-h.c (o): Test it.
* doc/posix-headers/fcntl.texi (fcntl.h): Update documentation.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Sat, 22 Aug 2009 21:24:37 -0600 |
parents | cc0527e5d2f4 |
children | d1047ae4b8d5 |
line wrap: on
line source
@node fcntl.h @section @file{fcntl.h} POSIX specification: @url{http://www.opengroup.org/susv3xbd/fcntl.h.html} Gnulib module: fcntl-h Portability problems fixed by Gnulib: @itemize @item @samp{O_NOCTTY}, @samp{O_DSYNC}, @samp{O_NONBLOCK}, @samp{O_RSYNC}, @samp{O_SYNC}, @samp{O_DIRECTORY}, @samp{O_NOFOLLOW}, and @samp{O_TTY_INIT} are not defined on some platforms. @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} is not defined on some platforms: mingw @item @samp{AT_FDCWD} and friends are provided by modules like openat. @end itemize Portability problems not fixed by Gnulib: @itemize @item @samp{O_CLOEXEC} is not defined on some platforms. The gnulib replacement is not atomic on these platforms. @item @samp{O_SEARCH} and @samp{O_EXEC} are not defined on some platforms. @item @samp{F_DUPFD}, @samp{F_DUPFD_CLOEXEC}, @samp{F_GETFD}, and @samp{F_SETFD} are not defined on some platforms: mingw @item @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. @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