]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/: STANDARDS: Update system calls for POSIX.1-2024
authorAlejandro Colomar <alx@kernel.org>
Mon, 14 Apr 2025 20:16:10 +0000 (22:16 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 27 Jul 2025 11:12:05 +0000 (13:12 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
106 files changed:
man/man2/_exit.2
man/man2/accept.2
man/man2/access.2
man/man2/alarm.2
man/man2/bind.2
man/man2/chdir.2
man/man2/chmod.2
man/man2/chown.2
man/man2/clock_getres.2
man/man2/clock_nanosleep.2
man/man2/connect.2
man/man2/dup.2
man/man2/execve.2
man/man2/fcntl.2
man/man2/fcntl_locking.2
man/man2/fsync.2
man/man2/getgid.2
man/man2/getgroups.2
man/man2/gethostname.2
man/man2/getitimer.2
man/man2/getpeername.2
man/man2/getpid.2
man/man2/getpriority.2
man/man2/getrlimit.2
man/man2/getrusage.2
man/man2/getsid.2
man/man2/getsockname.2
man/man2/getsockopt.2
man/man2/gettimeofday.2
man/man2/getuid.2
man/man2/kill.2
man/man2/link.2
man/man2/listen.2
man/man2/lseek.2
man/man2/mkdir.2
man/man2/mknod.2
man/man2/mlock.2
man/man2/mmap.2
man/man2/mprotect.2
man/man2/msgctl.2
man/man2/msgget.2
man/man2/msgop.2
man/man2/msync.2
man/man2/nanosleep.2
man/man2/nice.2
man/man2/open.2
man/man2/pause.2
man/man2/pipe.2
man/man2/poll.2
man/man2/posix_fadvise.2
man/man2/pread.2
man/man2/readlink.2
man/man2/readv.2
man/man2/recv.2
man/man2/rename.2
man/man2/rmdir.2
man/man2/sched_get_priority_max.2
man/man2/sched_rr_get_interval.2
man/man2/sched_setparam.2
man/man2/sched_setscheduler.2
man/man2/sched_yield.2
man/man2/select.2
man/man2/semctl.2
man/man2/semget.2
man/man2/semop.2
man/man2/send.2
man/man2/seteuid.2
man/man2/setgid.2
man/man2/setpgid.2
man/man2/setresuid.2
man/man2/setreuid.2
man/man2/setsid.2
man/man2/setuid.2
man/man2/shmctl.2
man/man2/shmget.2
man/man2/shmop.2
man/man2/shutdown.2
man/man2/sigaction.2
man/man2/sigaltstack.2
man/man2/signal.2
man/man2/sigpending.2
man/man2/sigprocmask.2
man/man2/sigsuspend.2
man/man2/sigwaitinfo.2
man/man2/socket.2
man/man2/socketpair.2
man/man2/stat.2
man/man2/symlink.2
man/man2/sync.2
man/man2/time.2
man/man2/timer_create.2
man/man2/timer_delete.2
man/man2/timer_getoverrun.2
man/man2/timer_settime.2
man/man2/times.2
man/man2/truncate.2
man/man2/uname.2
man/man2/unlink.2
man/man2/utime.2
man/man2/utimensat.2
man/man2/wait.2
man/man2/write.2
man/man2const/F_DUPFD.2const
man/man2const/F_GETFD.2const
man/man2const/F_GETFL.2const
man/man2const/F_GETSIG.2const

index 9d6c2505c4c00ee0217cfcc2476f3d2d2d1924d8..e1f264c95df29365af7d91ec649d66d017b99b58 100644 (file)
@@ -58,15 +58,17 @@ These functions do not return.
 .SH STANDARDS
 .TP
 .BR _exit ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR _Exit ()
-C11, POSIX.1-2008.
+C11, POSIX.1-2024.
 .SH HISTORY
+.TP
+.BR _exit ()
 POSIX.1-2001, SVr4, 4.3BSD.
-.P
+.TP
 .BR _Exit ()
-was introduced by C99.
+C99, POSIX.1-2001.
 .SH NOTES
 For a discussion on the effects of an exit, the transmission of
 exit status, zombie processes, signals sent, and so on, see
index 8f70e8b4da459e87e1ab837667ccb42d71683d8e..4b495bc196395493f3b0219f8a6b190a7eafe277 100644 (file)
@@ -266,12 +266,7 @@ of file status flags and always explicitly set all required flags on
 the socket returned from
 .BR accept ().
 .SH STANDARDS
-.TP
-.BR accept ()
-POSIX.1-2008.
-.TP
-.BR accept4 ()
-Linux.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR accept ()
@@ -286,6 +281,7 @@ first appeared in 4.2BSD).
 .\" In addition, SUSv2 documents EFAULT and ENOSR.
 .TP
 .BR accept4 ()
+POSIX.1-2024.
 Linux 2.6.28,
 glibc 2.10.
 .SH NOTES
index c41871b05dede7155b6323c65902e1b746af3449..1549e7fc2ec6ab1d766b3e5905f53f3420aaed90 100644 (file)
@@ -322,7 +322,7 @@ argument.
 .BR access ()
 .TQ
 .BR faccessat ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR faccessat2 ()
 Linux.
index 322fcb843e2f377b271830fd4e5a0e807b0c0c20..6fb8e73fea04bdb9fa755c801c54a13b954dcb9b 100644 (file)
@@ -35,7 +35,7 @@ returns the number of seconds remaining until any previously scheduled
 alarm was due to be delivered, or zero if there was no previously
 scheduled alarm.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .SH NOTES
index 5d44c152a63e0f7527367e38851c6802cd70b34d..f338a18ca6a5fb54b65c7b4941aadb7dbeebbfc6 100644 (file)
@@ -177,12 +177,17 @@ A component of the path prefix is not a directory.
 The socket inode would reside on a read-only filesystem.
 .P
 Other errors may be generated by the underlying protocol modules.
+.SH VERSIONS
+Portable programs must ensure that
+.I addr.sun_path
+is a null-terminated string
+for
+.B AF_UNIX
+sockets.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
-POSIX.1-2001, SVr4, 4.4BSD
-.RB ( bind ()
-first appeared in 4.2BSD).
+POSIX.1-2001, SVr4, 4.2BSD.
 .\" SVr4 documents an additional
 .\" .B ENOSR
 .\" general error condition, and
index f0e6744272649a6cfa1deb94f047025840a7bf69..83702d2af3c4ab4fdfa0dc3ee79c5943745d4cf5 100644 (file)
@@ -101,7 +101,7 @@ is not a valid file descriptor.
 .I fd
 does not refer to a directory.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.4BSD.
 .SH NOTES
index d2d91b7d8f0df9e30c82668d0ed53c1b58b66b2d..424d37d5c7fa630fb56c9f5971898fbfce673c19 100644 (file)
@@ -339,7 +339,7 @@ that corresponds to the
 .I dirfd
 argument.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR chmod ()
index 88c780236791e7ec0b9e6eb7a9b28616bea0b75e..98fb5365c7eccf4328742e66f357d47bea30cc1f 100644 (file)
@@ -274,7 +274,7 @@ used only by the superuser (that is, ordinary users cannot give away files).
 .\" SVr4 documents additional EINVAL, EIO, EINTR, and ENOLINK
 .\" error conditions.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR chown ()
index 8698477a85edf20838b13d4b6a723d08b132175c..27f0d09bcb8292cd6470f1536e641a99282cece7 100644 (file)
@@ -365,7 +365,7 @@ On some architectures, an implementation of
 is provided in the
 .BR vdso (7).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SUSv2.
 Linux 2.6.
@@ -389,6 +389,10 @@ are available.
 (See also
 .BR sysconf (3).)
 .\"
+.P
+POSIX.1-2024 made
+.B CLOCK_MONOTONIC
+mandatory.
 .SS Historical note for SMP systems
 Before Linux added kernel support for
 .B CLOCK_PROCESS_CPUTIME_ID
index 74811f980d51a8cdbbb9bd354f49b8ab8b932697..2181434f2feb2910eef58b4992cf6fc0299d3ca3 100644 (file)
@@ -172,7 +172,7 @@ is not a permitted value for
 The kernel does not support sleeping against this
 .IR clockid .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 Linux 2.6,
index 997739ce5524b0151b2f1df7e94d313f8871ee0f..15d248fac94babb3478defac0a4aa6d4c264450c 100644 (file)
@@ -207,12 +207,17 @@ The server may be too
 busy to accept new connections.
 Note that for IP sockets the timeout may
 be very long when syncookies are enabled on the server.
+.SH VERSIONS
+Portable programs must ensure that
+.I addr.sun_path
+is a null-terminated string
+for
+.B AF_UNIX
+sockets.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
-POSIX.1-2001, SVr4, 4.4BSD,
-.RB ( connect ()
-first appeared in 4.2BSD).
+POSIX.1-2001, SVr4, 4.2BSD.
 .\" SVr4 documents the additional
 .\" general error codes
 .\" .BR EADDRNOTAVAIL ,
index 21635730ebb7dab96c2e847a67ec6cfb9355fa61..a2ecf4ae370ac97b7c9bda3e7979478b37ca17c4 100644 (file)
@@ -189,14 +189,7 @@ in
 .B ENOMEM
 Insufficient kernel memory was available.
 .SH STANDARDS
-.TP
-.BR dup ()
-.TQ
-.BR dup2 ()
-POSIX.1-2008.
-.TP
-.BR dup3 ()
-Linux.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR dup ()
@@ -208,6 +201,7 @@ POSIX.1-2001, SVr4, 4.3BSD.
 .\" The EBUSY return is Linux-specific.
 .TP
 .BR dup3 ()
+POSIX.1-2024.
 Linux 2.6.27,
 glibc 2.9.
 .SH NOTES
index 2dba252229d6c31a797b0972ea9ba3e4be7282bd..4b116ff234c772ea5228d4f20c401bc3dffb89ad 100644 (file)
@@ -612,7 +612,7 @@ are used to delimit the arguments.
 Linux (like most other modern UNIX systems)
 ignores the set-user-ID and set-group-ID bits on scripts.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .\" SVr4 documents additional error
index 9a76bdb7b52f9a6f26b03107f3ecc6e6c9f2a8d3..7f34e332ef9070867c4cdb51e8c5d4991b4fac22 100644 (file)
@@ -130,7 +130,7 @@ and
 .BR F_DUPFD_CLOFORK ,
 but Linux doesn't support them.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .\" .P
 .\" SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
 .SH HISTORY
index ba37877f6c6a03288503b6ae066322fa79642d4e..6e17f0a7f8c6731797081ad06b2f98e8598bb59d 100644 (file)
@@ -557,27 +557,24 @@ was not specified as zero.
 Too many segment locks open, lock table is full, or a remote locking
 protocol failed (e.g., locking over NFS).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .\" .P
 .\" SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
-.P
-.BR F_OFD_SETLK ,
-.BR F_OFD_SETLKW ,
-and
-.B F_OFD_GETLK
-are Linux-specific (and one must define
-.B _GNU_SOURCE
-to obtain their definitions),
-but work is being done to have them included in the next version of POSIX.1.
 .SH HISTORY
-SVr4, 4.3BSD, POSIX.1-2001.
-.P
-Only the operations
-.BR F_GETLK ,
-.BR F_SETLK ,
-and
+.TP
+.B F_GETLK
+.TQ
+.B F_SETLK
+.TQ
 .B F_SETLKW
-are specified in POSIX.1-2001.
+SVr4, 4.3BSD, POSIX.1-2001.
+.TP
+.B F_OFD_SETLK
+.TQ
+.B F_OFD_SETLKW
+.TQ
+.B F_OFD_GETLK
+POSIX.1-2024.
 .SH NOTES
 .SS File locking
 The original Linux
index 89a9232964889b39bd1e123bdbf53742509d2592..80461ec3a68456cd99aa29dd236bf6f790bd61fa 100644 (file)
@@ -147,7 +147,7 @@ to a value greater than 0.
 .\" -1: unavailable, 0: ask using sysconf().
 .\" glibc defines them to 1.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.2BSD.
 .P
index af384ad61bb4b4409a55c71f7a99ddb95dd65d71..e56523ada75bc345a251845edd1aa9622228cb41 100644 (file)
@@ -44,7 +44,7 @@ See
 .BR syscall (2)
 for details regarding register mapping.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.3BSD.
 .P
index 63515828245a860a849c07404fa27f2134e63f61..396f1f0a7a961ded212fb86ede9be7ebe001662e 100644 (file)
@@ -149,7 +149,7 @@ For details, see
 .SH STANDARDS
 .TP
 .BR getgroups ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR setgroups ()
 None.
index c21c3ce1f73faa993b97ffb8554ab2f721a5bb3e..cc2b372b02cdeee0d01ddf87229a8ca2f0f1da74 100644 (file)
@@ -138,13 +138,13 @@ in this case, a terminating null byte is not included in the returned
 .SH STANDARDS
 .TP
 .BR gethostname ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR sethostname ()
 None.
 .SH HISTORY
 SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD).
-POSIX.1-2001 and POSIX.1-2008 specify
+POSIX.1 specifies
 .BR gethostname ()
 but not
 .BR sethostname ().
index 01d106cbc1edbb7067f0add8fe5037fe5e106a12..b214ed35ae154da49384bd2325cc95815a15d867 100644 (file)
@@ -177,10 +177,10 @@ fields are zero; that is, the timer is disabled.
 .IR "Don't use this Linux misfeature" :
 it is nonportable and unnecessary.
 .SH STANDARDS
-POSIX.1-2008.
+None.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.4BSD (this call first appeared in 4.2BSD).
-POSIX.1-2008 marks
+POSIX.1-2008 marked
 .BR getitimer ()
 and
 .BR setitimer ()
@@ -188,6 +188,7 @@ obsolete, recommending the use of the POSIX timers API
 .RB ( timer_gettime (2),
 .BR timer_settime (2),
 etc.) instead.
+POSIX.1-2024 removed them.
 .SH NOTES
 Timers will never expire before the requested time,
 but may expire some (short) time afterward, which depends
index c367382423534e34570c3e5daecb5347dd9b0cd5..16beb3a1841af15979b79feef6a461807804ee13 100644 (file)
@@ -68,7 +68,7 @@ The file descriptor
 .I sockfd
 does not refer to a socket.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.4BSD
 (first appeared in 4.2BSD).
index f0ec3f1ffa7de3c897ccdbafe7c26030fc2d30b9..2ae00557c3461515cab213dbcc2e6bbdaaf98da3 100644 (file)
@@ -51,7 +51,7 @@ See
 .BR syscall (2)
 for details regarding register mapping.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.3BSD, SVr4.
 .SS C library/kernel differences
index ada4fd3f71cd355912c60ff9e26c265464524304..d4e6c283844f790d82b2f24ad943e0ecb69a2781 100644 (file)
@@ -136,7 +136,7 @@ and
 .I who
 values specified.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001,
 SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD).
index e4341cc28875e5eb6c33100a0fd9071b8ccfa0bf..3c055c0066d4ebcee398593eb870b5d3c4a6dbb9 100644 (file)
@@ -527,7 +527,7 @@ T}  Thread safety   MT-Safe
 .BR getrlimit ()
 .TQ
 .BR setrlimit ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR prlimit ()
 Linux.
index 34e81f54000d32b55538297d0aba3bc3ad8e2aab..8711b06ac15c5a120ef75ffc0c2ffe0218b356aa 100644 (file)
@@ -182,7 +182,7 @@ T{
 T}     Thread safety   MT-Safe
 .TE
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .P
 POSIX.1 specifies
 .BR getrusage (),
index b83e16704407934449caf7c5d959c0650c551b30..7688dd27c14ac0b42261461a2c442a6b71f1335e 100644 (file)
@@ -58,7 +58,7 @@ was found.
 Linux does not return
 .BR EPERM .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 Linux 2.0.
index 1bce1360c8201b6875727835b46ceb1f5a0c182a..a7ca8573b8460df8fef66cde7c90f70a659a9bab 100644 (file)
@@ -64,10 +64,9 @@ The file descriptor
 .I sockfd
 does not refer to a socket.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
-POSIX.1-2001, SVr4, 4.4BSD
-(first appeared in 4.2BSD).
+POSIX.1-2001, SVr4, 4.2BSD.
 .\" SVr4 documents additional ENOMEM
 .\" and ENOSR error codes.
 .SH SEE ALSO
index f30657705080e6a780d52316cd0d8b4282a7de69..b962669d4b33e25b7eaa24e063a39c93f1a50df4 100644 (file)
@@ -140,7 +140,7 @@ The file descriptor
 .I sockfd
 does not refer to a socket.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001,
 SVr4, 4.4BSD (first appeared in 4.2BSD).
index b643573b4dd65b125e2f5ab5bf537f0cc848bf63..d954a253facef013a0861ed55c95155ad2a5ae17 100644 (file)
@@ -172,23 +172,20 @@ but Android does not update the kernel timezone
 based on the device timezone in Settings,
 so the kernel's timezone is typically UTC.
 .SH STANDARDS
-.TP
-.BR gettimeofday ()
-POSIX.1-2008 (obsolete).
-.TP
-.BR settimeofday ()
 None.
 .SH HISTORY
 SVr4, 4.3BSD.
-POSIX.1-2001 describes
+POSIX.1-2001 described
 .BR gettimeofday ()
 but not
 .BR settimeofday ().
-POSIX.1-2008 marks
+POSIX.1-2008 marked
 .BR gettimeofday ()
 as obsolete, recommending the use of
 .BR clock_gettime (2)
 instead.
+POSIX.1-2024 removed
+.BR gettimeofday ().
 .P
 Traditionally, the fields of
 .I struct timeval
index de71632a4af18819e9c30e660455442db7d8a8ed..a1dd320fcff531aa361c02d5cdad2a5a9e99d2b2 100644 (file)
@@ -28,7 +28,7 @@ and never modify
 .\" 0000511: getuid and friends should not modify errno
 .IR errno .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.3BSD.
 .P
index 0a7d307af0e0a8ae03dd3226486fbf0e984865d9..255bb29b18ae2a292acd2b1c85ace44e34d5b25d 100644 (file)
@@ -114,7 +114,7 @@ has not yet been
 .BR wait (2)ed
 for.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .SS Linux notes
index 9fd186e6416c916e9dad1ee96426cf000ebc405a..5cf47cb718e845ad4302e6c5861335ba65b4b361 100644 (file)
@@ -379,7 +379,7 @@ and
 .I newdirfd
 arguments.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR link ()
index beb4585b279717962674def1cf8b1059dbc7588d..0af616689ce1732aebe75b54d1f166d533a5e2cb 100644 (file)
@@ -79,7 +79,7 @@ The socket is not of a type that supports the
 .BR listen ()
 operation.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.4BSD
 (first appeared in 4.2BSD).
index e0d9972867cc6b22697e56db927e57cf7eb3a845..74d82a4666a30d972b9f11d921103a977ace9cd1 100644 (file)
@@ -203,17 +203,15 @@ on a terminal device fails with the error
 .\" Other systems return the number of written characters,
 .\" using SEEK_SET to set the counter. (Of written characters.)
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
-.P
+.TP
 .B SEEK_DATA
-and
+.TQ
 .B SEEK_HOLE
-are nonstandard extensions also present in Solaris,
-FreeBSD, and DragonFly BSD;
-they are proposed for inclusion in the next POSIX revision (Issue 8).
-.\" FIXME . Review http://austingroupbugs.net/view.php?id=415 in the future
+POSIX.1-2024;
+Solaris, FreeBSD, DragonFly BSD.
 .SH NOTES
 See
 .BR open (2)
index 84ae28b9d0189d53781623b5c3a1d7c9cf2caf4a..ac0d4405ecb87f1d76cf09bdeaf52d484faa2216 100644 (file)
@@ -226,7 +226,7 @@ that corresponds to the
 .I dirfd
 argument.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR mkdir ()
index 0856e2d1569ebf725d9358d3a7e8cd87baf24c62..e946db818d6073e2c58a75f57bcd05bd5021d83a 100644 (file)
@@ -261,7 +261,7 @@ One should make directories with
 .BR mkdir (2).
 .\" and one should make UNIX domain sockets with socket(2) and bind(2).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR mknod ()
index 9bf711140ed7c384db9ef7c6666921657d068c84..5c13459a3c055dc6cec29aed2f3fd84e85c5b6dd 100644 (file)
@@ -300,7 +300,7 @@ and
 .BR mlockall ()
 .TQ
 .BR munlockall ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR mlock2 ()
 Linux.
index 28ad07198a3a9ee9a3df993da54551129d4b2d75..487b32d20ccef1f978892e79cda5e8cea8368e6a 100644 (file)
@@ -729,7 +729,7 @@ wrapper function invokes
 with a suitably adjusted value for
 .IR offset .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.4BSD.
 .\" SVr4 documents additional error codes ENXIO and ENODEV.
index 773d93dc9c895019036a1234ec6c20e3dc7f5abe..e3488c6361f233ba348a6e6aec64e96ee38905f7 100644 (file)
@@ -258,7 +258,7 @@ is equivalent to
 .SH STANDARDS
 .TP
 .BR mprotect ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR pkey_mprotect ()
 Linux.
index 2ebc986b6aeddb2d5f1c490d9f7b334baa646d8b..1d8a8cf0d8a84c53499261bdfe701a1c2ddbbebe 100644 (file)
@@ -374,7 +374,7 @@ but the caller is not privileged (Linux: does not have the
 .B CAP_SYS_RESOURCE
 capability).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .\" SVID does not document the EIDRM error condition.
index d92e96d51b8a769c9f0e9c6ceef382d3e3d79c8d..8600d66810ea23ceedefa97f17dfd50c4930547a 100644 (file)
@@ -158,7 +158,7 @@ number of message queues
 .RB ( MSGMNI )
 would be exceeded.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .SS Linux
index 6ed8a2038ce89ec5aa39edaf45548d93586d8f1b..16c70bb9a9f1c05ee7a23d53c490814ece5cd7d5 100644 (file)
@@ -437,7 +437,7 @@ were specified in
 and this kernel was configured without
 .BR CONFIG_CHECKPOINT_RESTORE .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .P
 The
 .B MSG_EXCEPT
index e4a8012985acc891a117ad50f8afb240c666fdcb..0fefab39b4a514ae113f0c1697e9fdd1614cf9cd 100644 (file)
@@ -110,7 +110,7 @@ or
 in
 .IR flags .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .P
index 040138e93197135cee89acd29c13bc4aa70f3572..4ef2add2b869e845f78143b17058cfe6c195d940 100644 (file)
@@ -133,7 +133,7 @@ these time services shall expire when the requested duration elapses,
 independently of the new or old value of the clock.
 .RE
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .P
index 8bf17f486176b12187837733ee1c3c1978c4d89a..1deaac93640b0ee63455cea5798dfbca417d35b1 100644 (file)
@@ -86,7 +86,7 @@ wrapper function provided by glibc provides conformance to POSIX.1 by calling
 .BR getpriority (2)
 to obtain the new nice value, which is then returned to the caller.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .\" SVr4 documents an additional
index c31ba6c850defe59353c57fd6fe8081e4b2ad2a5..dcb71eba680d7b5360660d1b5b8b2d199a7f0be3 100644 (file)
@@ -1406,7 +1406,7 @@ but Linux doesn't support it.
 .BR creat ()
 .TQ
 .BR openat ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR openat2 (2)
 Linux.
index e5d3494c8ff7cebfd5bac1c9fddef802e690f2eb..c232978b40eb5f2483f8fb570ba23dd5f20def79 100644 (file)
@@ -35,7 +35,7 @@ is set to
 .B EINTR
 a signal was caught and the signal-catching function returned.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .SH SEE ALSO
index 346aeadc738f0b96d237b5e51f44c9771ef894d2..4f64c452a63c4d9e05b14474c0f4ae706cf166f9 100644 (file)
@@ -199,18 +199,14 @@ See
 .BR syscall (2)
 for information regarding registers used for storing second file descriptor.
 .SH STANDARDS
-.TP
-.BR pipe ()
-POSIX.1-2008.
-.TP
-.BR pipe2 ()
-Linux.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR pipe ()
 POSIX.1-2001.
 .TP
 .BR pipe2 ()
+POSIX.1-2024.
 Linux 2.6.27,
 glibc 2.9.
 .SH EXAMPLES
index 85856bb34df8b8d79bc2b53fdedaa9d4ec572be0..0af9781c0dd53cdbef25188c921e8608e75e7016 100644 (file)
@@ -415,16 +415,7 @@ See
 for a discussion on the differences between the kernel and the libc
 notion of the sigset.
 .SH STANDARDS
-.TP
-.BR poll ()
-POSIX.1-2008.
-.TP
-.BR ppoll ()
-Linux.
-.\" FIXME .
-.\" ppoll() is proposed for inclusion in POSIX:
-.\" https://www.austingroupbugs.net/view.php?id=1263
-.\" NetBSD 3.0 has a pollts() which is like Linux ppoll().
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR poll ()
@@ -438,6 +429,7 @@ wrapper function provides emulation using
 .BR select (2).
 .TP
 .BR ppoll ()
+POSIX.1-2024.
 Linux 2.6.16,
 glibc 2.4.
 .SH NOTES
index ed0c91e06947e1a62795c74ea88702f2887f0af7..0a124a23a794c72488aa1d7ad46e625e4b5cfe77 100644 (file)
@@ -212,7 +212,7 @@ hidden from applications by the glibc
 wrapper function,
 which invokes the appropriate architecture-specific system call.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .P
index 278e7ec8143e7967869c55858a93cefb9c6bb7ca..17151547f7c7bb4d5ad377491abd5e8b56c39dec 100644 (file)
@@ -91,7 +91,7 @@ to any error specified for
 or
 .BR lseek (2).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .P
index b6c663cd3ad68811ea28585f6a881a2a4e349bf0..5a2004ba5fc2f818605ba94ed63601744061423a 100644 (file)
@@ -179,7 +179,7 @@ is relative and
 .I dirfd
 is a file descriptor referring to a file other than a directory.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR readlink ()
index c3b0a709161950a8603db211ec117423b96d46bf..d235422f482e0fdaa7a500931c892c46e450c52f 100644 (file)
@@ -391,7 +391,7 @@ These arguments contain, respectively, the low order and high order 32 bits of
 .BR readv ()
 .TQ
 .BR writev ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR preadv ()
 .TQ
index 3f143944768e5d6615849be8017bf09691683389..10823b3b9bcb5ee25043f9ba357bcba9a8f86829 100644 (file)
@@ -506,10 +506,10 @@ but glibc currently types both as
 .\" across architectures, but socklen_t is always 32 bits,
 .\" as (at least with GCC) is int.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001,
-4.4BSD (first appeared in 4.2BSD).
+4.2BSD.
 .P
 POSIX.1 describes only the
 .BR MSG_OOB ,
index 619d7e815aa1524a18d23f1aea828b0bcd299167..b5beef4b8999a51c0e0f57e02c18222ee7a3be89 100644 (file)
@@ -483,10 +483,10 @@ capability.
 .SH STANDARDS
 .TP
 .BR rename ()
-C11, POSIX.1-2008.
+C11, POSIX.1-2024.
 .TP
 .BR renameat ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR renameat2 ()
 Linux.
index 28c55dad38c4d23dc3bb87ab362b033e350270ac..8bf31d889b78d438a2fc75bae88fb01b4d5cd6b1 100644 (file)
@@ -86,7 +86,6 @@ has
 .I ..
 as its final component.
 POSIX.1 also allows
-.\" POSIX.1-2001, POSIX.1-2008
 .B EEXIST
 for this condition.
 .TP
@@ -110,7 +109,7 @@ does not support the removal of directories.
 .I path
 refers to a directory on a read-only filesystem.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.3BSD.
 .SH BUGS
index e98656bd3c693ec89f07495e3b1346072ec1c9dd..eb5feafa7ff54a7d17886f78d9d16a4713c397ac 100644 (file)
@@ -61,7 +61,6 @@ priority range and map it to the interval given by
 and
 .BR sched_get_priority_min ().
 POSIX.1 requires
-.\" POSIX.1-2001, POSIX.1-2008 (XBD 2.8.4)
 a spread of at least 32 between the maximum and the minimum values for
 .B SCHED_FIFO
 and
@@ -92,7 +91,7 @@ The argument
 .I policy
 does not identify a defined scheduling policy.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SH SEE ALSO
index 7736ebf419b23298e2d8b53b57e516173855545b..d168ff873843634a47f71339e27a86187e7cd96a 100644 (file)
@@ -70,7 +70,7 @@ quantum: the
 file exposes the quantum as a millisecond value, whose default is 100.
 Writing 0 to this file resets the quantum to the default value.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SS Linux
index 76fdfb9b7d4be79034ce7de39a45af02864d823d..bb5a450df62fe36f41311c63e4634e552c35a086 100644 (file)
@@ -110,7 +110,7 @@ The thread whose ID is
 .I pid
 could not be found.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SH SEE ALSO
index 78afb59490dbc9cd060096cc2ec067ed1e9c2cde..fbac079efde065570f370d79600ef16bb18f0342 100644 (file)
@@ -184,7 +184,7 @@ instead of the
 .BR sched_* (2)
 system calls.)
 .SH STANDARDS
-POSIX.1-2008 (but see BUGS below).
+POSIX.1-2024 (but see BUGS below).
 .P
 .B SCHED_BATCH
 and
index 2bc321694128a0de1cce0e0ac8ab38b9b2a59810..e7c5092bc71f287dae704f13e6f70d129d69b19c 100644 (file)
@@ -31,7 +31,7 @@ In the Linux implementation,
 .BR sched_yield ()
 always succeeds.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001 (but optional).
 POSIX.1-2008.
index ff35d9a1b8f35a2512814c644fe92113de82f50e..4a8bf18aa6ac3da0f15b04abaaaaa4c567712ff9 100644 (file)
@@ -21,7 +21,7 @@ Standard C library
 .BI "           struct timeval *_Nullable restrict " timeout );
 .P
 .BI "void FD_CLR(int " fd ", fd_set *" set );
-.BI "int  FD_ISSET(int " fd ", fd_set *" set );
+.BI "int  FD_ISSET(int " fd ", const fd_set *" set );
 .BI "void FD_SET(int " fd ", fd_set *" set );
 .BI "void FD_ZERO(fd_set *" set );
 .P
@@ -432,7 +432,7 @@ Portable programs may wish to check for
 and loop, just as with
 .BR EINTR .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR select ()
index 846d49e2678838896e917cc801df8fd0ec918b3f..bea4c38a10e8d0327052742c7f207a4364ca324b 100644 (file)
@@ -546,7 +546,7 @@ This was rectified
 .\" commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
 in Linux 4.6.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .\" SVr4 documents more error conditions EINVAL and EOVERFLOW.
index 6a09f30806bb3235038329b91a01cd0508d6b7c1..d206cf297cb9ad23e06e9e415bb003df964e3f36 100644 (file)
@@ -185,7 +185,7 @@ or the system wide maximum number of semaphores
 .RB ( SEMMNS ),
 would be exceeded.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 SVr4, POSIX.1-2001.
 .\" SVr4 documents additional error conditions EFBIG, E2BIG, EAGAIN,
index 90fee48ad35073d448a7c1fca31cc9a6a3db9aa1..3311eebb35917877066e142b2d1f8ae1c6b587dc 100644 (file)
@@ -346,7 +346,7 @@ is greater than
 the implementation dependent maximum value for
 .IR semval .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH VERSIONS
 Linux 2.5.52 (backported into Linux 2.4.22),
 glibc 2.3.3.
index 84ac2695abad80ed10f26d152551d5a1df4e59a3..6a58c886a5c85423af718b466a9832a697ae7d43 100644 (file)
@@ -453,7 +453,7 @@ but glibc currently types both as
 .\" across architectures, but socklen_t is always 32 bits,
 .\" as (at least with GCC) is int.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .P
 .B MSG_CONFIRM
 is a Linux extension.
index 1b803e37db4ba3a5172e476cdc18320c3a342d81..ce33ea46940bcb83b4525d7c37de4230a1db7992 100644 (file)
@@ -117,7 +117,7 @@ are implemented as library functions that call, respectively,
 and
 .BR setresgid (2).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.3BSD.
 .SH SEE ALSO
index de9b52a82c28d36693e0512742fde1252223f9bb..0d8f8e219794ba5914e05c8d5ccfb496afc9971a 100644 (file)
@@ -66,7 +66,7 @@ all of the other threads in the process also change their credentials.
 For details, see
 .BR nptl (7).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .P
index 19ef3ab69822440e96fa4bbfd09ddf784caa1c9a..e85fce05425939ce9c32f22a53830aa9a08345de 100644 (file)
@@ -223,11 +223,9 @@ is not the calling process and not a child of the calling process.
 .BR setpgid ()
 .TQ
 .BR getpgrp "() (no args)"
-.TQ
-.BR setpgrp "() (no args)"
-POSIX.1-2008 (but see HISTORY).
+POSIX.1-2024.
 .TP
-.BR setpgrp "() (2 args)"
+.BR setpgrp ()
 .TQ
 .BR getpgrp "() (1 arg)"
 None.
@@ -242,7 +240,8 @@ POSIX.1-2001.
 .TP
 .BR setpgrp "() (no args)"
 POSIX.1-2001.
-POSIX.1-2008 marks it as obsolete.
+Obsoleted in POSIX.1-2008.
+Removed in POSIX.1-2024.
 .TP
 .BR setpgrp "() (2 args)"
 .TQ
index 2f8bcd690089c5b1d9c2723524a45524a08e8569..a5655ddc8c9004638582983142a6db1b14523eda 100644 (file)
@@ -114,8 +114,9 @@ all of the other threads in the process also change their credentials.
 For details, see
 .BR nptl (7).
 .SH STANDARDS
-None.
+POSIX.1-2024.
 .SH HISTORY
+POSIX.1-2024.
 Linux 2.1.44,
 glibc 2.3.2.
 HP-UX, FreeBSD.
index c14ed402311a97503b07d46202290a96a2251866..61fb4914d1099d7bdaf65f9bf39ce9dec6c84b86 100644 (file)
@@ -129,7 +129,7 @@ across implementations.
 POSIX.1 makes no specification about the effect of these calls
 on the saved set-user-ID and saved set-group-ID.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.3BSD (first appeared in 4.2BSD).
 .P
index e4c40beb42f2511407ab5de3129f3f2ad86f097d..b49f13931ce10d663528175e07a8eeba87055a6f 100644 (file)
@@ -45,7 +45,7 @@ Thus, in particular,
 .BR setsid ()
 fails if the calling process is already a process group leader.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .SH NOTES
index a0599e4bd37be95af7b69217867a9ff9639bb84b..9b80cad2a6296949da55ceb6cedef163a8559ebb 100644 (file)
@@ -110,7 +110,7 @@ all of the other threads in the process also change their credentials.
 For details, see
 .BR nptl (7).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .P
index 891884f6cb4b0031dcbb04f97fa9e73d9557e51d..d2008e51fb9b7d8b4293adf67c8c11898e4ac3ce 100644 (file)
@@ -451,7 +451,7 @@ using
 This feature is not available on other UNIX implementations;
 portable applications should avoid relying on it.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .\" SVr4 documents additional error conditions EINVAL,
index d273966a98eeb0ba21b1609666c0451a3b2a43c7..4a5367eea7f65304343e609572bfa072fa5d5054 100644 (file)
@@ -257,7 +257,7 @@ group; see the description of
 in
 .BR proc (5).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .P
 .B SHM_HUGETLB
 and
index 12e7bd763fb1661d26ab5b3d3ac71761014efb8b..ef5438b079c39b1427e27b222ab28ab4ce10b7f3 100644 (file)
@@ -207,6 +207,12 @@ from
 .I char\ *
 into
 .IR "void\ *" .
+.P
+POSIX.1-2024
+changed the error code from
+.I (void\ *)\ \-1
+to
+.BR SHM_FAILED .
 .SH NOTES
 After a
 .BR fork (2),
index e12f0997730b2b22b9286adb477a2394ed85dd3a..a1884594a36d1dfc3e39d088fd68bbff8c3abd84 100644 (file)
@@ -61,7 +61,7 @@ The file descriptor
 .I sockfd
 does not refer to a socket.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, 4.4BSD
 (first appeared in 4.2BSD).
index 8d08a8c409d99ea80e4e31f2bbdf0988889c6967..4da8b41d6cbb069de2645308e485a966d042bb40 100644 (file)
@@ -976,7 +976,7 @@ wrapper function hides these details from us, transparently calling
 .BR rt_sigaction ()
 when the kernel provides it.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4.
 .\" SVr4 does not document the EINTR condition.
index d82e33dd0ac86ebccee7cfb25e0badc1ecf1910a..8b23bf15d792806166d55b79976b0fb63021c9e0 100644 (file)
@@ -239,7 +239,7 @@ T{
 T}     Thread safety   MT-Safe
 .TE
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .P
 .B SS_AUTODISARM
 is a Linux extension.
index c3471e56f5886188505dcac9f1000f5ac20e4e68..86a5b767c14fa84b5b26d6e5a0a4deef438a8402 100644 (file)
@@ -132,7 +132,7 @@ which provides explicit control of the semantics when a
 signal handler is invoked; use that interface instead of
 .BR signal ().
 .SH STANDARDS
-C11, POSIX.1-2008.
+C11, POSIX.1-2024.
 .SH HISTORY
 C89, POSIX.1-2001.
 .P
index 4f8f004feccb2bb970df0e4b5a0352f73e546035..c1ec006f03feb5f92ba5f9bcbb9e8490f56b14ae 100644 (file)
@@ -42,7 +42,7 @@ is set to indicate the error.
 .I set
 points to memory which is not a valid part of the process address space.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SS C library/kernel differences
index b79ca715987b85b607a5b0939270d7b362aae6f5..faf17cab33c3e1d209ffb011185ac1dbd0a93061 100644 (file)
@@ -168,7 +168,7 @@ wrapper function hides these details from us, transparently calling
 when the kernel provides it.
 .\"
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SH NOTES
index 4b7d4030ee2d407698bf0ece30776465800c6ae4..5bd4d50be1a061a351b1334102df7f8b72a0c371 100644 (file)
@@ -64,7 +64,7 @@ points to memory which is not a valid part of the process address space.
 The call was interrupted by a signal;
 .BR signal (7).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SS C library/kernel differences
index a2a466fdb99667f12712c16e0fecf02e12febaa4..942e69670c97bd329f070d3be218c364d217c8b0 100644 (file)
@@ -154,7 +154,7 @@ wrapper function hides these details from us, transparently calling
 when the kernel provides it.
 .\"
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001.
 .SH NOTES
index d8050824861e4992fe01600198a3105a80a4d4b8..7c0a5c2f68ff0e60fc136d016ddd28a4f5e03a09 100644 (file)
@@ -424,17 +424,10 @@ POSIX.1-2024 specifies
 .BR SOCK_CLOFORK ,
 but Linux doesn't support it.
 .SH STANDARDS
-POSIX.1-2008.
-.P
-.B SOCK_NONBLOCK
-and
-.B SOCK_CLOEXEC
-are Linux-specific.
+POSIX.1-2024.
 .SH HISTORY
-POSIX.1-2001, 4.4BSD.
+POSIX.1-2001, 4.2BSD.
 .P
-.BR socket ()
-appeared in 4.2BSD.
 It is generally portable to/from
 non-BSD systems supporting clones of the BSD socket layer (including
 System\ V variants).
@@ -451,6 +444,11 @@ families.
 However, already the BSD man page promises: "The protocol
 family generally is the same as the address family", and subsequent
 standards use AF_* everywhere.
+.TP
+.B SOCK_NONBLOCK
+.TQ
+.B SOCK_CLOEXEC
+POSIX.1-2024.
 .SH EXAMPLES
 An example of the use of
 .BR socket ()
index 698f6b0ab8d19a4902a9274a3e12f04a372c2cf0..a25a486af0e8badc8bb722ad268c29171917b741 100644 (file)
@@ -79,26 +79,21 @@ and
 .\" commit: 70b03759e9ecfae400605fa34f3d7154cccbbba3
 (since Linux 4.12).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
-POSIX.1-2001, 4.4BSD.
+POSIX.1-2001, 4.2BSD.
 .P
-.BR socketpair ()
-first appeared in 4.2BSD.
 It is generally portable to/from
 non-BSD systems supporting clones of the BSD socket layer (including
 System\ V variants).
-.P
-Since Linux 2.6.27,
-.BR socketpair ()
-supports the
-.B SOCK_NONBLOCK
-and
+.TP
 .B SOCK_CLOEXEC
-flags in the
-.I type
-argument, as described in
-.BR socket (2).
+.TQ
+.B SOCK_NONBLOCK
+POSIX.1-2024;
+Linux 2.6.27.
+(See
+.BR socket (2).)
 .SH SEE ALSO
 .BR pipe (2),
 .BR read (2),
index 07ea3f0703b7318062e9bebce2d5341dabc9dc38..2d73d8afafdb0762197410a2e99ede6097c84967 100644 (file)
@@ -295,7 +295,7 @@ on a file whose size exceeds
 .I (1<<31)\-1
 bytes.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR stat ()
index 600bfc409e842ede3a82dc7601d34fd318dd6962..afd91a2a3f370c80f40e6c9440e5eebf06976696 100644 (file)
@@ -207,7 +207,7 @@ does not support the creation of symbolic links.
 .I linkpath
 is on a read-only filesystem.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR symlink ()
index d6e75c50506aed8899ba1c9f1970e5db3df2a763..8202524306b7c0bb42d05ea14c33e5b0394bec05 100644 (file)
@@ -79,7 +79,7 @@ allocate space at the time of a
 system call, and some previous write failed due to insufficient
 storage space.
 .SH VERSIONS
-According to the standard specification (e.g., POSIX.1-2001),
+According to the standard specification (i.e., POSIX.1),
 .BR sync ()
 schedules the writes, but may return before the actual
 writing is done.
@@ -95,7 +95,7 @@ the system or filesystem respectively.
 .SH STANDARDS
 .TP
 .BR sync ()
-POSIX.1-2008.
+POSIX.1-2024.
 .TP
 .BR syncfs ()
 Linux.
index 1e22f1179bc32476d89cba39f2a59fd42166efd5..24034e3b61596ceba270b9e5d3e6f08b489df8f1 100644 (file)
@@ -84,11 +84,9 @@ On some architectures, an implementation of
 is provided in the
 .BR vdso (7).
 .SH STANDARDS
-C11, POSIX.1-2008.
+C11, POSIX.1-2024.
 .SH HISTORY
-SVr4, 4.3BSD, C89, POSIX.1-2001.
-.\" Under 4.3BSD, this call is obsoleted by
-.\" .BR gettimeofday (2).
+SVr4, 4.3BSD, C89, POSIX.1-2001, V7.
 .SH BUGS
 Error returns from this system call are indistinguishable from
 successful reports that the time is a few seconds
index 287d7bda4ade690ae8ae7aec4a6b838eef89f2c4..80baae619e537cc04381a6b67edd89e32d7c66f9 100644 (file)
@@ -253,7 +253,7 @@ which maps these IDs to the timer IDs employed by the kernel.
 .\" that glibc uses to map user-space timer IDs to kernel timer IDs
 .\" The kernel-level timer ID is exposed via siginfo.si_tid.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 Linux 2.6.
 POSIX.1-2001.
index 997e77274d71bdb8a8b21eca321cc0e876dbe790..83f9adab7a6569f4eca7654f03174fd024f4e197 100644 (file)
@@ -45,7 +45,7 @@ is set to indicate the error.
 .I timerid
 is not a valid timer ID.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 Linux 2.6.
 POSIX.1-2001.
index c094707dd1aa85f63f3d9767b547e97b08e264aa..fd45f8573ee9cf0f80ef9658fbd07157a5932b50 100644 (file)
@@ -92,7 +92,7 @@ timer notifications using signals.
 .\" FIXME . Austin bug filed, 11 Feb 09
 .\" https://www.austingroupbugs.net/view.php?id=95
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 Linux 2.6.
 POSIX.1-2001.
index 774bb352fe375d7068e1564a0c0e6efea5fe3cef..1f02efcb649c35b8c53f1ef49e2d84610f74025d 100644 (file)
@@ -172,7 +172,7 @@ is negative; or
 .I new_value.it_value.tv_nsec
 is negative or greater than 999,999,999.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 Linux 2.6.
 POSIX.1-2001.
index 6919958300e8a7bc510e836b533315dc4df0dca1..45d3b0852d41b58759cc2df2571dca09ec4c2f71 100644 (file)
@@ -103,7 +103,7 @@ and most
 other UNIX implementations require a non-NULL value for
 .IR buf .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001,
 SVr4,
index ef95eb990b30908d9af5609ac09eeb75431a1559..3d3ec2aebe2ce95be7a6b1fb6088198f17d65cbc 100644 (file)
@@ -194,10 +194,10 @@ the calling signature for these system calls differ,
 for the reasons described in
 .BR syscall (2).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001,
-4.4BSD, SVr4 (first appeared in 4.2BSD).
+SVr4, 4.2BSD.
 .\" POSIX.1-1996 has
 .\" .BR ftruncate ().
 .\" POSIX.1-2001 also has
index 84557c46c0b7bbf9cdcc13deda6569156e7a49ef..3ed7a7bd8e7de947d03b58f36eb20888f5ad228d 100644 (file)
@@ -75,7 +75,7 @@ idea to use any of these constants; just use sizeof(...).
 SVr4 uses 257, "to support Internet hostnames"
 \[em] this is the largest value likely to be encountered in the wild.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 POSIX.1-2001, SVr4, 4.4BSD.
 .SS C library/kernel differences
index 8ec625753958553f7e30adc5ca0d0449344d9d6d..8f0840949d5d4e5b6175f5a8673d3afae55dda2a 100644 (file)
@@ -245,7 +245,7 @@ is relative and
 .I dirfd
 is a file descriptor referring to a file other than a directory.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR unlink ()
index f4b6d1dc4a3cf6b2ba6f4adfba3f04966c8d7d2a..94307a5b90f6666d293ba449e22be1e8731d9103 100644 (file)
@@ -147,12 +147,18 @@ capability).
 .I path
 resides on a read-only filesystem.
 .SH STANDARDS
-POSIX.1-2008.
+.TP
+.BR utime ()
+None.
+.TP
+.BR utimes ()
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .BR utime ()
 SVr4, POSIX.1-2001.
-POSIX.1-2008 marks it as obsolete.
+Obsoleted in POSIX.1-2008.
+Removed in POSIX.1-2024.
 .TP
 .BR utimes ()
 4.3BSD, POSIX.1-2001.
index f003bb2595fbd148672360ef37d19bf085bf44a8..cd81f4f3c355178b5b7f8ee55bf2eb91d50e8ec6 100644 (file)
@@ -438,8 +438,8 @@ the wrapper function returns the error
 .B EINVAL
 in this case.
 .SH STANDARDS
-POSIX.1-2008.
-.SH VERSIONS
+POSIX.1-2024.
+.SH HISTORY
 .TP
 .BR utimensat ()
 Linux 2.6.22,
index d99c2a2ac61e2ade5d2c4481491dd2672cf90e6a..4e5d1c8ee1e7920d4d369b09f7dc52b2b84d41ba 100644 (file)
@@ -177,19 +177,14 @@ This macro should be employed only if
 .B WIFSIGNALED
 returned true.
 .TP
-.BI WCOREDUMP( wstatus )
+.BI WCOREDUMP( wstatus ) "  \f[R]// POSIX.1-2024\f[]"
 returns true if the child produced a core dump (see
 .BR core (5)).
 This macro should be employed only if
 .B WIFSIGNALED
 returned true.
-.IP
-This macro is not specified in POSIX.1-2001 and is not available on
-some UNIX implementations (e.g., AIX, SunOS).
-Therefore, enclose its use inside
-.IR "#ifdef WCOREDUMP ... #endif" .
 .TP
-.BI WIFSTOPPED( wstatus )
+.BI WIFSTOPPED( wstatus ) "  \f[R]// POSIX.1-2024\f[]"
 returns true if the child process was stopped by delivery of a signal;
 this is possible only if the call was done using
 .B WUNTRACED
@@ -466,7 +461,7 @@ See
 .BR getrusage (2)
 for details.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH NOTES
index 5392de0ac0abe0314e28591492eede482d708789..5b015bc3754e477135abbbb6fe17bfcd5c360c36 100644 (file)
@@ -218,7 +218,7 @@ catches, blocks or ignores this signal.)
 Other errors may occur, depending on the object connected to
 .IR fd .
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 SVr4, 4.3BSD, POSIX.1-2001.
 .\" SVr4 documents additional error
index b3635982ada209ccf895cb875aa2ac8b63c1c3c1..907a1cb86403623a9178a9c410e8ac72e2986297 100644 (file)
@@ -76,7 +76,7 @@ POSIX.1-2024 specifies
 .BR F_DUPFD_CLOFORK ,
 but Linux doesn't support it.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 .TP
 .B F_DUPFD
index 065ba4c00576162e7214982a69b9c61bc332d6df..e44aa644d60de3b388b5796f9fb15215c575eb3d 100644 (file)
@@ -60,7 +60,7 @@ is set to indicate the error.
 See
 .BR fcntl (2).
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH CAVEATS
index 142ffcaf17a7639db475af24f102c07b9408732e..273cbaf7a6071d43b1b123bf19432531ef042f02 100644 (file)
@@ -87,7 +87,7 @@ Attempted to clear the
 .B O_APPEND
 flag on a file that has the append-only attribute set.
 .SH STANDARDS
-POSIX.1-2008.
+POSIX.1-2024.
 .SH HISTORY
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH BUGS
index 3c13c836f92e0c6ebb69df8cb3563d207336bc30..328561977ff23af73c1abb814e1cdaed7ea4460c 100644 (file)
@@ -426,12 +426,12 @@ is not an allowable signal number.
 .B F_GETOWN
 .TQ
 .B F_SETOWN
-POSIX.1-2008.
-.TP
+.TQ
 .B F_GETOWN_EX
 .TQ
 .B F_SETOWN_EX
-.TQ
+POSIX.1-2024.
+.TP
 .B F_GETSIG
 .TQ
 .B F_SETSIG
@@ -458,6 +458,7 @@ with the value 200809L or greater.)
 .B F_GETOWN_EX
 .TQ
 .B F_GETOWN_EX
+POSIX.1-2024.
 Linux 2.6.32.
 .TP
 .B F_GETSIG