aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/socket.2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2/socket.2')
-rw-r--r--man/man2/socket.220
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 ()