public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants
@ 2026-01-05  9:18 Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) Seth McDonald
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

Hello all,

I'm continuing to update the first POSIX and SUS appearances of various
system calls and functions, but I'm doubting that it's a good idea to
wait and send all patches in at once.  So while I continue, I'll try
grouping related updates into patch sets and sending them through
semi-regularly.

To start, this patch set consists of updates for documented constants
in the 2const and 3const sections.  I've provided a reference to the
relevant POSIX version for each patch, providing links where possible.

In general, each patch concerns a separate page.  However, if two pages
share similar names and are referenced in the same section of POSIX
(such that the citation given for both are the same), then I batched
them together into the same patch.

Also perhaps noteworthy: if updating a page required only adding a POSIX
or SUS version, I usually added it in a new line and left any other
listed standards untouched.  While if it required changing a line shared
with other standards, I typically reformatted it to list each standard
on a separate line (for nicer diffs with future changes).

Seth McDonald (12):
  man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance
    of F_DUPFD(2const)
  man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance
    of F_[GS]ETFD(2const)
  man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance
    of F_[GS]ETFL(2const)
  man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections
  man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: HISTORY: Add
    sections
  man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section
  man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance
    of IPV6_V6ONLY(2const)
  man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of
    EOF(3const)
  man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const)
    and EXIT_FAILURE(3const)
  man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX
    appearance of EXIT_SUCCESS(3const)
  man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX
    appearance of EXIT_FAILURE(3const)
  man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of
    NULL(3const)

 man/man2const/F_DUPFD.2const             | 4 +++-
 man/man2const/F_GETFD.2const             | 4 +++-
 man/man2const/F_GETFL.2const             | 4 +++-
 man/man2const/IPPROTO_IP.2const          | 4 ++++
 man/man2const/IPPROTO_IPV6.2const        | 4 ++++
 man/man2const/IPV6_MULTICAST_HOPS.2const | 4 ++++
 man/man2const/IPV6_MULTICAST_IF.2const   | 4 ++++
 man/man2const/IPV6_MULTICAST_LOOP.2const | 4 ++++
 man/man2const/IPV6_UNICAST_HOPS.2const   | 4 ++++
 man/man2const/IPV6_V6ONLY.2const         | 1 +
 man/man3const/EOF.3const                 | 3 ++-
 man/man3const/EXIT_SUCCESS.3const        | 9 ++++++++-
 man/man3const/NULL.3const                | 3 ++-
 13 files changed, 46 insertions(+), 6 deletions(-)

Range-diff against v0:
 -:  ------------ >  1:  24e850c16b1a man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const)
 -:  ------------ >  2:  2ebaafd23033 man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const)
 -:  ------------ >  3:  318b6e1e5d8a man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const)
 -:  ------------ >  4:  355603eae665 man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections
 -:  ------------ >  5:  82a8170800bf man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: HISTORY: Add sections
 -:  ------------ >  6:  daf65319f3b8 man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section
 -:  ------------ >  7:  bec94e780a3c man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const)
 -:  ------------ >  8:  b8028fb93420 man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const)
 -:  ------------ >  9:  25f4fa02d941 man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const)
 -:  ------------ > 10:  0b59f68ab057 man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const)
 -:  ------------ > 11:  966063053cfe man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const)
 -:  ------------ > 12:  bbd81741f759 man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const)
-- 
2.47.3


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

* [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 02/12] man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const) Seth McDonald
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

F_DUPFD(2const) first appeared in POSIX.1-1988.[1]

[1] IEEE Std 1003.1-1988, Table 6-1 "cmd Values for fcntl()".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/F_DUPFD.2const | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/man2const/F_DUPFD.2const b/man/man2const/F_DUPFD.2const
index 907a1cb86403..420521a360f8 100644
--- a/man/man2const/F_DUPFD.2const
+++ b/man/man2const/F_DUPFD.2const
@@ -80,7 +80,9 @@ .SH STANDARDS
 .SH HISTORY
 .TP
 .B F_DUPFD
-SVr4, 4.3BSD, POSIX.1-2001.
+SVr4,
+4.3BSD,
+POSIX.1-1988.
 .TP
 .B F_DUPFD_CLOEXEC
 Linux 2.6.24.
-- 
2.47.3


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

* [PATCH v1 02/12] man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 03/12] man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const) Seth McDonald
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

F_GETFD(2const) and F_SETFD(2const) first appeared in POSIX.1-1988.[1]

[1] IEEE Std 1003.1-1988, Table 6-1 "cmd Values for fcntl()".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/F_GETFD.2const | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/man2const/F_GETFD.2const b/man/man2const/F_GETFD.2const
index e44aa644d60d..dc46ef5df8a7 100644
--- a/man/man2const/F_GETFD.2const
+++ b/man/man2const/F_GETFD.2const
@@ -62,7 +62,9 @@ .SH ERRORS
 .SH STANDARDS
 POSIX.1-2024.
 .SH HISTORY
-SVr4, 4.3BSD, POSIX.1-2001.
+SVr4,
+4.3BSD,
+POSIX.1-1988.
 .SH CAVEATS
 In multithreaded programs, using
 .BR fcntl (2)
-- 
2.47.3


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

* [PATCH v1 03/12] man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 02/12] man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05 15:32   ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) G. Branden Robinson
  2026-01-05  9:18 ` [PATCH v1 04/12] man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections Seth McDonald
                   ` (9 subsequent siblings)
  12 siblings, 1 reply; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

F_GETFL(2const) and F_SETFL(2const) first appeared in POSIX.1-1988.[1]

[1] IEEE Std 1003.1-1988, Table 6-1 "cmd Values for fcntl()".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/F_GETFL.2const | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/man2const/F_GETFL.2const b/man/man2const/F_GETFL.2const
index c1b9413602d7..24b471e1f531 100644
--- a/man/man2const/F_GETFL.2const
+++ b/man/man2const/F_GETFL.2const
@@ -90,7 +90,9 @@ .SH ERRORS
 .SH STANDARDS
 POSIX.1-2024.
 .SH HISTORY
-SVr4, 4.3BSD, POSIX.1-2001.
+SVr4,
+4.3BSD,
+POSIX.1-1988.
 .SH BUGS
 .SS F_SETFL
 It is not possible to use
-- 
2.47.3


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

* [PATCH v1 04/12] man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (2 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 03/12] man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 05/12] man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: " Seth McDonald
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

IPPROTO_IP(2const) and IPPROTO_IPV6(2const) first appeared in
POSIX.1-2001.[1]

[1] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 280.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/netinet/in.h.html>

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/IPPROTO_IP.2const   | 4 ++++
 man/man2const/IPPROTO_IPV6.2const | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const
index 56bddbbf66df..50245fe1fc01 100644
--- a/man/man2const/IPPROTO_IP.2const
+++ b/man/man2const/IPPROTO_IP.2const
@@ -134,6 +134,10 @@ .SH ERRORS
 .\" .SH STANDARDS
 .\" IP_XFRM_POLICY is Linux-specific
 .\" IP_IPSEC_POLICY is a nonstandard extension, also present on some BSDs
+.SH HISTORY
+.TP
+.B IPPROTO_IP
+POSIX.1-2001.
 .SH SEE ALSO
 .BR setsockopt (2),
 .BR ip (7)
diff --git a/man/man2const/IPPROTO_IPV6.2const b/man/man2const/IPPROTO_IPV6.2const
index 7d0a10b8e722..6b22bb4864c6 100644
--- a/man/man2const/IPPROTO_IPV6.2const
+++ b/man/man2const/IPPROTO_IPV6.2const
@@ -151,6 +151,10 @@ .SH ERRORS
 .B ENOPROTOOPT
 .I opt
 is invalid.
+.SH HISTORY
+.TP
+.B IPPROTO_IPV6
+POSIX.1-2001.
 .SH SEE ALSO
 .BR setsockopt (2),
 .BR cmsg (3),
-- 
2.47.3


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

* [PATCH v1 05/12] man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: HISTORY: Add sections
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (3 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 04/12] man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 06/12] man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section Seth McDonald
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

IPV6_MULTICAST_HOPS(2const), IPV6_MULTICAST_IF(2const), and
IPV6_MULTICAST_LOOP(2const) first appeared in POSIX.1-2001.[1]

[1] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 281.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/netinet/in.h.html>

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/IPV6_MULTICAST_HOPS.2const | 4 ++++
 man/man2const/IPV6_MULTICAST_IF.2const   | 4 ++++
 man/man2const/IPV6_MULTICAST_LOOP.2const | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/man/man2const/IPV6_MULTICAST_HOPS.2const b/man/man2const/IPV6_MULTICAST_HOPS.2const
index 448467d7857a..5f03e3cf36dc 100644
--- a/man/man2const/IPV6_MULTICAST_HOPS.2const
+++ b/man/man2const/IPV6_MULTICAST_HOPS.2const
@@ -36,6 +36,10 @@ .SH ERRORS
 .BR setsockopt (2).
 See
 .BR ipv6 (7).
+.SH HISTORY
+.TP
+.B IPV6_MULTICAST_HOPS
+POSIX.1-2001.
 .SH SEE ALSO
 .BR IPPROTO_IPV6 (2const),
 .BR setsockopt (2),
diff --git a/man/man2const/IPV6_MULTICAST_IF.2const b/man/man2const/IPV6_MULTICAST_IF.2const
index ee269ccd9cc2..e7a324dca7b3 100644
--- a/man/man2const/IPV6_MULTICAST_IF.2const
+++ b/man/man2const/IPV6_MULTICAST_IF.2const
@@ -40,6 +40,10 @@ .SH ERRORS
 .BR setsockopt (2).
 See
 .BR ipv6 (7).
+.SH HISTORY
+.TP
+.B IPV6_MULTICAST_IF
+POSIX.1-2001.
 .SH SEE ALSO
 .BR IPPROTO_IPV6 (2const),
 .BR setsockopt (2),
diff --git a/man/man2const/IPV6_MULTICAST_LOOP.2const b/man/man2const/IPV6_MULTICAST_LOOP.2const
index 32edb88c6970..821c4d85f05d 100644
--- a/man/man2const/IPV6_MULTICAST_LOOP.2const
+++ b/man/man2const/IPV6_MULTICAST_LOOP.2const
@@ -29,6 +29,10 @@ .SH ERRORS
 .BR setsockopt (2).
 See
 .BR ipv6 (7).
+.SH HISTORY
+.TP
+.B IPV6_MULTICAST_LOOP
+POSIX.1-2001.
 .SH SEE ALSO
 .BR IP_MULTICAST_LOOP (2const),
 .BR IPPROTO_IPV6 (2const),
-- 
2.47.3


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

* [PATCH v1 06/12] man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (4 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 05/12] man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: " Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 07/12] man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const) Seth McDonald
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

IPV6_UNICAST_HOPS(2const) first appeared in POSIX.1-2001.[1]

[1] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 281.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/netinet/in.h.html>

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/IPV6_UNICAST_HOPS.2const | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/man/man2const/IPV6_UNICAST_HOPS.2const b/man/man2const/IPV6_UNICAST_HOPS.2const
index 073f2b6cc9d3..b56854d6587c 100644
--- a/man/man2const/IPV6_UNICAST_HOPS.2const
+++ b/man/man2const/IPV6_UNICAST_HOPS.2const
@@ -34,6 +34,10 @@ .SH ERRORS
 .BR setsockopt (2).
 See
 .BR ipv6 (7).
+.SH HISTORY
+.TP
+.B IPV6_UNICAST_HOPS
+POSIX.1-2001.
 .SH SEE ALSO
 .BR IPPROTO_IPV6 (2const),
 .BR setsockopt (2),
-- 
2.47.3


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

* [PATCH v1 07/12] man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (5 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 06/12] man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 08/12] man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const) Seth McDonald
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

IPV6_V6ONLY(2const) first appeared in POSIX.1-2001.[1]

[1] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 281.
<https://pubs.opengroup.org/onlinepubs/009604499/basedefs/netinet/in.h.html>

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man2const/IPV6_V6ONLY.2const | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man/man2const/IPV6_V6ONLY.2const b/man/man2const/IPV6_V6ONLY.2const
index 4a11b1847bf6..bf8c9aeed560 100644
--- a/man/man2const/IPV6_V6ONLY.2const
+++ b/man/man2const/IPV6_V6ONLY.2const
@@ -43,6 +43,7 @@ .SH ERRORS
 See
 .BR ipv6 (7).
 .SH HISTORY
+POSIX.1-2001,
 Linux 2.4.21, Linux 2.6.
 .SH SEE ALSO
 .BR IPPROTO_IPV6 (2const),
-- 
2.47.3


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

* [PATCH v1 08/12] man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (6 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 07/12] man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 09/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const) Seth McDonald
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

EOF(3const) first appeared in POSIX.1-1988.[1]

[1] IEEE 1003.1-1988, Section 7.1.1.9 "Special Characters".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man3const/EOF.3const | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/man3const/EOF.3const b/man/man3const/EOF.3const
index 3d15d909ac3c..89daa043b0bd 100644
--- a/man/man3const/EOF.3const
+++ b/man/man3const/EOF.3const
@@ -29,7 +29,8 @@ .SH DESCRIPTION
 .SH STANDARDS
 C11, POSIX.1-2024.
 .SH HISTORY
-C89, POSIX.1-2001.
+C89,
+POSIX.1-1988.
 .SH CAVEATS
 Programs can't pass this value to an output function
 to "write" the end of a file.
-- 
2.47.3


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

* [PATCH v1 09/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (7 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 08/12] man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 10/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const) Seth McDonald
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man3const/EXIT_SUCCESS.3const | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/man/man3const/EXIT_SUCCESS.3const b/man/man3const/EXIT_SUCCESS.3const
index 7f5f6030dcc7..a88422e7d910 100644
--- a/man/man3const/EXIT_SUCCESS.3const
+++ b/man/man3const/EXIT_SUCCESS.3const
@@ -27,7 +27,14 @@ .SH DESCRIPTION
 .SH STANDARDS
 C11, POSIX.1-2024.
 .SH HISTORY
-C89, POSIX.1-2001.
+.TP
+.B EXIT_SUCCESS
+C89,
+POSIX.1-2001.
+.TP
+.B EXIT_FAILURE
+C89,
+POSIX.1-2001.
 .SH EXAMPLES
 .\" SRC BEGIN (EXIT_SUCCESS.c)
 .EX
-- 
2.47.3


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

* [PATCH v1 10/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (8 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 09/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 11/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const) Seth McDonald
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

EXIT_SUCCESS(3const) first appeared in POSIX.1-1988.[1]

[1] IEEE Std 1003.1-1988, Section 8.1 "Referenced C Language Routines".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man3const/EXIT_SUCCESS.3const | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man3const/EXIT_SUCCESS.3const b/man/man3const/EXIT_SUCCESS.3const
index a88422e7d910..4e0918963f87 100644
--- a/man/man3const/EXIT_SUCCESS.3const
+++ b/man/man3const/EXIT_SUCCESS.3const
@@ -30,7 +30,7 @@ .SH HISTORY
 .TP
 .B EXIT_SUCCESS
 C89,
-POSIX.1-2001.
+POSIX.1-1988.
 .TP
 .B EXIT_FAILURE
 C89,
-- 
2.47.3


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

* [PATCH v1 11/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (9 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 10/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05  9:18 ` [PATCH v1 12/12] man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const) Seth McDonald
  2026-01-05 14:43 ` [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Alejandro Colomar
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

EXIT_FAILURE(3const) first appeared in POSIX.1-1990.[1]

[1] IEEE Std 1003.1-1990, Section 8.1 "Referenced C Language Routines".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man3const/EXIT_SUCCESS.3const | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man3const/EXIT_SUCCESS.3const b/man/man3const/EXIT_SUCCESS.3const
index 4e0918963f87..94378055bc06 100644
--- a/man/man3const/EXIT_SUCCESS.3const
+++ b/man/man3const/EXIT_SUCCESS.3const
@@ -34,7 +34,7 @@ .SH HISTORY
 .TP
 .B EXIT_FAILURE
 C89,
-POSIX.1-2001.
+POSIX.1-1990.
 .SH EXAMPLES
 .\" SRC BEGIN (EXIT_SUCCESS.c)
 .EX
-- 
2.47.3


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

* [PATCH v1 12/12] man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const)
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (10 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 11/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const) Seth McDonald
@ 2026-01-05  9:18 ` Seth McDonald
  2026-01-05 14:43 ` [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Alejandro Colomar
  12 siblings, 0 replies; 16+ messages in thread
From: Seth McDonald @ 2026-01-05  9:18 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Seth McDonald, linux-man

NULL(3const) first appeared in POSIX.1-1988.[1]

[1] IEEE Std 1003.1-1988, Section 2.8.1 "Symbols From The C Standard".

Signed-off-by: Seth McDonald <sethmcmail@pm.me>
---
 man/man3const/NULL.3const | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/man3const/NULL.3const b/man/man3const/NULL.3const
index e8fed0848938..12953db18d17 100644
--- a/man/man3const/NULL.3const
+++ b/man/man3const/NULL.3const
@@ -22,7 +22,8 @@ .SH DESCRIPTION
 .SH STANDARDS
 C11, POSIX.1-2024.
 .SH HISTORY
-C89, POSIX.1-2001.
+C89,
+POSIX.1-1988.
 .SH NOTES
 The following headers also provide
 .BR NULL :
-- 
2.47.3


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

* Re: [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants
  2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
                   ` (11 preceding siblings ...)
  2026-01-05  9:18 ` [PATCH v1 12/12] man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const) Seth McDonald
@ 2026-01-05 14:43 ` Alejandro Colomar
  12 siblings, 0 replies; 16+ messages in thread
From: Alejandro Colomar @ 2026-01-05 14:43 UTC (permalink / raw)
  To: Seth McDonald; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 4857 bytes --]

Hi Seth,

On Mon, Jan 05, 2026 at 07:18:36PM +1000, Seth McDonald wrote:
> Hello all,
> 
> I'm continuing to update the first POSIX and SUS appearances of various
> system calls and functions, but I'm doubting that it's a good idea to
> wait and send all patches in at once.  So while I continue, I'll try
> grouping related updates into patch sets and sending them through
> semi-regularly.
> 
> To start, this patch set consists of updates for documented constants
> in the 2const and 3const sections.  I've provided a reference to the
> relevant POSIX version for each patch, providing links where possible.
> 
> In general, each patch concerns a separate page.  However, if two pages
> share similar names and are referenced in the same section of POSIX
> (such that the citation given for both are the same), then I batched
> them together into the same patch.
> 
> Also perhaps noteworthy: if updating a page required only adding a POSIX
> or SUS version, I usually added it in a new line and left any other
> listed standards untouched.  While if it required changing a line shared
> with other standards, I typically reformatted it to list each standard
> on a separate line (for nicer diffs with future changes).
> 
> Seth McDonald (12):
>   man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance
>     of F_DUPFD(2const)
>   man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance
>     of F_[GS]ETFD(2const)
>   man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance
>     of F_[GS]ETFL(2const)
>   man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections
>   man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: HISTORY: Add
>     sections
>   man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section
>   man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance
>     of IPV6_V6ONLY(2const)
>   man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of
>     EOF(3const)
>   man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const)
>     and EXIT_FAILURE(3const)
>   man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX
>     appearance of EXIT_SUCCESS(3const)
>   man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX
>     appearance of EXIT_FAILURE(3const)
>   man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of
>     NULL(3const)

Thanks!  I've applied all 12 patches.


Have a lovely New Year!
Alex

> 
>  man/man2const/F_DUPFD.2const             | 4 +++-
>  man/man2const/F_GETFD.2const             | 4 +++-
>  man/man2const/F_GETFL.2const             | 4 +++-
>  man/man2const/IPPROTO_IP.2const          | 4 ++++
>  man/man2const/IPPROTO_IPV6.2const        | 4 ++++
>  man/man2const/IPV6_MULTICAST_HOPS.2const | 4 ++++
>  man/man2const/IPV6_MULTICAST_IF.2const   | 4 ++++
>  man/man2const/IPV6_MULTICAST_LOOP.2const | 4 ++++
>  man/man2const/IPV6_UNICAST_HOPS.2const   | 4 ++++
>  man/man2const/IPV6_V6ONLY.2const         | 1 +
>  man/man3const/EOF.3const                 | 3 ++-
>  man/man3const/EXIT_SUCCESS.3const        | 9 ++++++++-
>  man/man3const/NULL.3const                | 3 ++-
>  13 files changed, 46 insertions(+), 6 deletions(-)
> 
> Range-diff against v0:
>  -:  ------------ >  1:  24e850c16b1a man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const)
>  -:  ------------ >  2:  2ebaafd23033 man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const)
>  -:  ------------ >  3:  318b6e1e5d8a man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const)
>  -:  ------------ >  4:  355603eae665 man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections
>  -:  ------------ >  5:  82a8170800bf man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: HISTORY: Add sections
>  -:  ------------ >  6:  daf65319f3b8 man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section
>  -:  ------------ >  7:  bec94e780a3c man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const)
>  -:  ------------ >  8:  b8028fb93420 man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const)
>  -:  ------------ >  9:  25f4fa02d941 man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const)
>  -:  ------------ > 10:  0b59f68ab057 man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const)
>  -:  ------------ > 11:  966063053cfe man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const)
>  -:  ------------ > 12:  bbd81741f759 man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const)
> -- 
> 2.47.3
> 
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const)
  2026-01-05  9:18 ` [PATCH v1 03/12] man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const) Seth McDonald
@ 2026-01-05 15:32   ` G. Branden Robinson
  2026-01-05 15:44     ` Alejandro Colomar
  0 siblings, 1 reply; 16+ messages in thread
From: G. Branden Robinson @ 2026-01-05 15:32 UTC (permalink / raw)
  To: Seth McDonald; +Cc: Alejandro Colomar, linux-man

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Hi Seth & Alex,

At 2026-01-05T19:18:37+1000, Seth McDonald wrote:
> F_DUPFD(2const) first appeared in POSIX.1-1988.[1]
[...]
> -SVr4, 4.3BSD, POSIX.1-2001.
> +SVr4,
> +4.3BSD,
> +POSIX.1-1988.

At 2026-01-05T19:18:38+1000, Seth McDonald wrote:
> F_GETFD(2const) and F_SETFD(2const) first appeared in POSIX.1-1988.[1]
[...]
> -SVr4, 4.3BSD, POSIX.1-2001.
> +SVr4,
> +4.3BSD,
> +POSIX.1-1988.

At 2026-01-05T19:18:39+1000, Seth McDonald wrote:
> F_GETFL(2const) and F_SETFL(2const) first appeared in POSIX.1-1988.[1]
> -SVr4, 4.3BSD, POSIX.1-2001.
> +SVr4,
> +4.3BSD,
> +POSIX.1-1988.

What ordering is used for these?

4.3BSD was 1986.[1]

POSIX.1-1988 was, nominally, 1988 but we all know how standards
sometimes lag.  It seems the record is murky in this case.[2]

I've seen dates of 1988 applied SVr4, but no reports that it was
publicly available until 1989.[3]

Regards,
Branden

[1] https://www.oreilly.com/openbook/opensources/book/kirkmck.html
[2] https://luplab.cs.ucdavis.edu/2021/11/04/the-hunt-for-posix-1-1988.html
[3] http://ps-2.retropc.se/sites/unixarchive/Documentation/AUUGN/AUUGN-V09.6.pdf

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const)
  2026-01-05 15:32   ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) G. Branden Robinson
@ 2026-01-05 15:44     ` Alejandro Colomar
  0 siblings, 0 replies; 16+ messages in thread
From: Alejandro Colomar @ 2026-01-05 15:44 UTC (permalink / raw)
  To: G. Branden Robinson; +Cc: Seth McDonald, linux-man

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Hi Branden,

On Mon, Jan 05, 2026 at 09:32:27AM -0600, G. Branden Robinson wrote:
> At 2026-01-05T19:18:39+1000, Seth McDonald wrote:
> > F_GETFL(2const) and F_SETFL(2const) first appeared in POSIX.1-1988.[1]
> > -SVr4, 4.3BSD, POSIX.1-2001.
> > +SVr4,
> > +4.3BSD,
> > +POSIX.1-1988.
> 
> What ordering is used for these?

Ideally, I would like it to be in chronologic order.

> 4.3BSD was 1986.[1]
> 
> POSIX.1-1988 was, nominally, 1988 but we all know how standards
> sometimes lag.  It seems the record is murky in this case.[2]
> 
> I've seen dates of 1988 applied SVr4, but no reports that it was
> publicly available until 1989.[3]

If anyone wants to do research and improve those --as Seth is doing--,
I'll welcome patches.  :)


Have a lovely New Year!
Alex

> 
> Regards,
> Branden
> 
> [1] https://www.oreilly.com/openbook/opensources/book/kirkmck.html
> [2] https://luplab.cs.ucdavis.edu/2021/11/04/the-hunt-for-posix-1-1988.html
> [3] http://ps-2.retropc.se/sites/unixarchive/Documentation/AUUGN/AUUGN-V09.6.pdf



-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2026-01-05 15:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05  9:18 [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Seth McDonald
2026-01-05  9:18 ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 02/12] man/man2const/F_GETFD.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFD(2const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 03/12] man/man2const/F_GETFL.2const: HISTORY: Update first POSIX appearance of F_[GS]ETFL(2const) Seth McDonald
2026-01-05 15:32   ` [PATCH v1 01/12] man/man2const/F_DUPFD.2const: HISTORY: Update first POSIX appearance of F_DUPFD(2const) G. Branden Robinson
2026-01-05 15:44     ` Alejandro Colomar
2026-01-05  9:18 ` [PATCH v1 04/12] man/man2const/IPPROTO_IP{V6,}.2const: HISTORY: Add sections Seth McDonald
2026-01-05  9:18 ` [PATCH v1 05/12] man/man2const/IPV6_MULTICAST_{HOPS,IF,LOOP}.2const: " Seth McDonald
2026-01-05  9:18 ` [PATCH v1 06/12] man/man2const/IPV6_UNICAST_HOPS.2const: HISTORY: Add section Seth McDonald
2026-01-05  9:18 ` [PATCH v1 07/12] man/man2const/IPV6_V6ONLY.2const: HISTORY: Add first POSIX appearance of IPV6_V6ONLY(2const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 08/12] man/man3const/EOF.3const: HISTORY: Update first POSIX appearance of EOF(3const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 09/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Split EXIT_SUCCESS(3const) and EXIT_FAILURE(3const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 10/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_SUCCESS(3const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 11/12] man/man3const/EXIT_SUCCESS.3const: HISTORY: Update first POSIX appearance of EXIT_FAILURE(3const) Seth McDonald
2026-01-05  9:18 ` [PATCH v1 12/12] man/man3const/NULL.3const: HISTORY: Update first POSIX appearance of NULL(3const) Seth McDonald
2026-01-05 14:43 ` [PATCH v1 00/12] man/man{2,3}const/*: Update POSIX history of constants Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox