Hash :
d4356ced
Author :
Date :
2009-09-06T20:21:28
doc: fix comments in recent patches * lib/faccessat.c: Mention correct function. * lib/fchmodat.c: Likewise. * lib/fchownat.c: Likewise. * lib/symlinkat.c: Likewise. * doc/posix-headers/fcntl.texi (fcntl.h): Cygwin 1.7 has AT_* constants. Signed-off-by: Eric Blake <ebb9@byu.net>
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
@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}, @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.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX
5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
@item
@samp{AT_FDCWD} is defined with a value too large for an @code{int} on some
platforms:
Solaris 10.
@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