All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man/man2/socket.2: Mention POSIX.1-2024 added SOCK_NONBLOCK, SOCK_CLOEXEC, SOCK_CLOFORK.
@ 2025-05-23  3:58 Collin Funk
  2025-05-24 18:03 ` Alejandro Colomar
  0 siblings, 1 reply; 3+ messages in thread
From: Collin Funk @ 2025-05-23  3:58 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Collin Funk, linux-man

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
---
 man/man2/socket.2 | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/man/man2/socket.2 b/man/man2/socket.2
index 01b125fa0..b626ded8d 100644
--- a/man/man2/socket.2
+++ b/man/man2/socket.2
@@ -422,13 +422,24 @@ .SH ERRORS
 .SH STANDARDS
 POSIX.1-2008.
 .P
-.B SOCK_NONBLOCK
+The
+.BR SOCK_NONBLOCK
 and
-.B SOCK_CLOEXEC
-are Linux-specific.
+.BR SOCK_CLOEXEC
+flags are specified by POSIX.1-2024.
+.P
+The
+.BR SOCK_CLOFORK
+flag is also specified by POSIX.1-2024 but is not implemented by Linux.
 .SH HISTORY
 POSIX.1-2001, 4.4BSD.
 .P
+The
+.BR SOCK_NONBLOCK
+and
+.BR SOCK_CLOEXEC
+flags were originally Linux extensions.
+.P
 .BR socket ()
 appeared in 4.2BSD.
 It is generally portable to/from
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-24 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23  3:58 [PATCH] man/man2/socket.2: Mention POSIX.1-2024 added SOCK_NONBLOCK, SOCK_CLOEXEC, SOCK_CLOFORK Collin Funk
2025-05-24 18:03 ` Alejandro Colomar
2025-05-24 18:08   ` Collin Funk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.