]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
fcntl-h: document O_CLOFORK etc
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 May 2025 02:24:27 +0000 (19:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 May 2025 02:25:48 +0000 (19:25 -0700)
doc/posix-headers/fcntl.texi
doc/posix-headers/sys_socket.texi

index 9adaecc3aec53b85f34133426e7b4987e76352a6..8d018b9aa6de2bb37ffbac0eb4dce548b4f39be3 100644 (file)
@@ -133,6 +133,13 @@ Mac OS X 10.3.
 @samp{O_PATH} is not defined on some platforms:
 glibc 2.13, macOS 13, FreeBSD 13.0, NetBSD 9.2, OpenBSD 7.1, Minix 3.3.0, AIX 7.3, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14.
 
+@item
+Although POSIX.1-2024 standardized @code{O_CLOFORK},
+@code{FD_CLOFORK} and @code{F_DUPFD_CLOFORK},
+they are not defined on most platforms:
+glibc 2.41, musl libc, macOS 15.5, FreeBSD 14.2, NetBSD 10.1, OpenBSD 7.7,
+Minix 3.3.0, AIX 7.1, Solaris 11.3, Cygwin 3.6.2, mingw, MSVC 14.
+
 @item
 @samp{F_SETFD}, @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK},
 @samp{F_SETLK}, @samp{F_SETLKW}, @samp{F_GETOWN}, and @samp{F_SETOWN}
index 5b7e34ffb32eb8fa565923c4cb3cb3e7a4ab3291..aa1f3be21edf10453427e09032ab24f805ceba4a 100644 (file)
@@ -57,6 +57,9 @@ This header file does not define the macro @code{MSG_CMSG_CLOEXEC}
 on some platforms:
 Solaris 11 OmniOS.
 @item
+Although POSIX.1-2024 standardized @code{SOCK_CLOFORK} and
+@code{MSG_CMSG_CLOFORK}, no known platform supports them.
+@item
 This header file does not define the macro @code{SO_DOMAIN} on some platforms:
 macOS 15, NetBSD 10.0, AIX 7.3, Cygwin 3.5, mingw, MSVC 14.
 @item