public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Early POSIX versions seldom included in history sections
@ 2025-12-20 16:17 Seth McDonald
  2025-12-20 17:44 ` Alejandro Colomar
  0 siblings, 1 reply; 7+ messages in thread
From: Seth McDonald @ 2025-12-20 16:17 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man@vger.kernel.org


[-- Attachment #1.1: Type: text/plain, Size: 1505 bytes --]

Hello again!

I've noticed that in almost all man pages for POSIX functions, the
history section documents only as far back as POSIX.1-2001, even when
the function appeared in prior POSIX versions. For example, the man
pages for close(2), read(2), and malloc(3) all list POSIX.1-2001 as the
functions' first appearance in POSIX, when all three were included in
POSIX.1-1988 (though read(2) got its current function signature in
POSIX.1-1990).

But there are a few man pages that do actually go further back. By
grep-ing the repo with

$ grep -E -nr -e 'POSIX.1-19[0-9]{2}' man

I get 28 matches, some of which are from functions' history sections,
such as in the abs(3) and ctime(3) man pages. Which makes me think that
either the history sections were intended to start at POSIX.1-2001 and
these few exceptions were unintended/overlooked. Or the exact version of
POSIX that most functions were introduced in was not known, while
POSIX.1-2001 was freely available online as html to check.

If the reason is the latter, then I'd be happy to help here. I have
access to POSIX.1-1988, POSIX.1-1990, and POSIX.1-1996, as well as SUS
(1994) and SUSv2 (1997). So I can check each function and update their
man page's history section with an earlier POSIX (or SUS) version if
applicable. Though only if that's desirable for the man pages, of
course; let me know if so.

----
Seth McDonald.
sethmcmail at pm dot me (mailing lists)
2336 E8D2 FEB1 5300 692C  62A9 5839 6AD8 9243 D369

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 343 bytes --]

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

end of thread, other threads:[~2025-12-23 12:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-20 16:17 Early POSIX versions seldom included in history sections Seth McDonald
2025-12-20 17:44 ` Alejandro Colomar
2025-12-21  8:17   ` Seth McDonald
2025-12-21 12:49     ` Alejandro Colomar
2025-12-22  0:58       ` Collin Funk
2025-12-23  3:56         ` Seth McDonald
2025-12-23 12:43           ` Alejandro Colomar

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