diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-10-29 12:27:06 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-10-29 12:27:06 +0100 |
| commit | 0b2d9bd664822e5dd8affa0583c533a9fac45027 (patch) | |
| tree | 6fd4fe1f8ad589066404d041d3874038e2230662 /man/man2/socket.2 | |
| parent | 1411f78d518e043fbbc761409313db3be4bc038b (diff) | |
| parent | 429fd8f39add390a2be28d8d4dee68e4d9897a32 (diff) | |
| download | man-pages-posix24.tar.gz | |
man/: Update some APIs for POSIX.1-2024posix24
This work is incomplete, but waiting until all pages have been updated
would unnecessarily delay publishing these changes, which are already
useful.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/socket.2')
| -rw-r--r-- | man/man2/socket.2 | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/man/man2/socket.2 b/man/man2/socket.2 index d443958ecc..7b594d70d5 100644 --- a/man/man2/socket.2 +++ b/man/man2/socket.2 @@ -431,18 +431,15 @@ The protocol type or the specified protocol is not supported within this domain. .P Other errors may be generated by the underlying protocol modules. +.SH VERSIONS +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). @@ -459,6 +456,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 () |
