* reallocarray() is now part of POSIX
@ 2026-05-14 21:14 Kalevi Kolttonen
2026-05-14 21:29 ` Alejandro Colomar
0 siblings, 1 reply; 4+ messages in thread
From: Kalevi Kolttonen @ 2026-05-14 21:14 UTC (permalink / raw)
To: alx, linux-man
Hello!
The man page for 'reallocarray' claims this function
is not standardized. However, it is now part of POSIX.
FreeBSD 15 man page says:
reallocarray() conforms to IEEE Std 1003.1-2024 (“POSIX.1”).
br,
KK
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reallocarray() is now part of POSIX
2026-05-14 21:14 reallocarray() is now part of POSIX Kalevi Kolttonen
@ 2026-05-14 21:29 ` Alejandro Colomar
2026-05-14 21:38 ` Kalevi Kolttonen
0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2026-05-14 21:29 UTC (permalink / raw)
To: Kalevi Kolttonen; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 2099 bytes --]
On 2026-05-15T00:14:10+0300, Kalevi Kolttonen wrote:
> Hello!
Hi!
> The man page for 'reallocarray' claims this function
> is not standardized. However, it is now part of POSIX.
You probably have an old version of the manual page. The current manual
page documents POSIX.1-2024:
$ man -w reallocarray \
| MANWIDTH=64 xargs mansectf STANDARDS \
| head -n11;
malloc(3) Library Functions Manual malloc(3)
STANDARDS
malloc()
free()
calloc()
realloc()
C23, POSIX.1‐2024.
reallocarray()
POSIX.1‐2024.
This was documented in
b9ebd195 (2025-07-20; "man/man3/malloc.3: STANDARDS, HISTORY, BUGS: Clarify (non)conformance of realloc{,array}(3)").
That commit was part of man-pages-6.15:
$ git describe --contains b9ebd195
man-pages-6.15~1
Which was released 10 months ago:
tag man-pages-6.15
Tagger: Alejandro Colomar <alx@kernel.org>
Date: 2025-07-20 23:49:35 +0200
man-pages-6.15 - manual pages for GNU/Linux
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmh9ZKwACgkQ64mZXMKQ
wqnjPQ//db5f+yZ+Ew9mueXt7Mw8EY918/wGuiMZC31M/lNSywpFrczzsG+SLyMv
QJwdK4ZJG62j5zA3eiFonpSsApxFPGb8aZhFlH/IjN5V0ilpxOKa9YfGKx150fi0
l+uMNRl4dV3lK3EavOcHHClPwQDQ2qOxt+WTksMHGOusr2/y+MyMcHEkXkvQfQDr
GeLvBumPLoxMM1tieGoXdSn6dx39eQAqQB1H/LhFejR+OX+bpVVfcDUWzH2HNXo4
UaUxKMgY1QfFVy1Azjm45Zt/uz2br/PFJ4NdfawpNT/3qN9L3egTQeyMuSlOQZnI
c8MGi0D2VIotvyGmewCKSta2Wx8VpTe9BY/iB+Afdt9urUkj+A6EPpacVOFJbWxG
nMjIYJsEDhrwvjIwliC5YD6CIEmXYRk/xYmd4QXKu+82EAc1ttd5+aFdiAP8e1DL
m77hABRDINTwFTQ5rq5VuSL9WqYhYSVzoM5rf3Y/AzyUaqeg/6peqSY8aMuDVc5X
zXbrDK86/iDBPYiFIbNxS5iy/rlROxL1/UVzVSmmp+u5/u6tGkpBCDvPSoaP4XfW
xzjwYsEJroTHtJ/X2f/Gib6Aovo5Cyut2t7Y0z1wbocJKWn0FlKHbNnPLFsxKr6B
t8fzPTQql83qlvNqPJKQEPR+ZSshnZvWcRMwP3PUxq1LsApAWkA=
=1+GK
-----END PGP SIGNATURE-----
Have a lovely night!
Alex
> FreeBSD 15 man page says:
>
> reallocarray() conforms to IEEE Std 1003.1-2024 (“POSIX.1”).
>
> br,
> KK
>
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reallocarray() is now part of POSIX
2026-05-14 21:29 ` Alejandro Colomar
@ 2026-05-14 21:38 ` Kalevi Kolttonen
2026-05-14 21:44 ` Alejandro Colomar
0 siblings, 1 reply; 4+ messages in thread
From: Kalevi Kolttonen @ 2026-05-14 21:38 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
On Thu, May 14, 2026 at 11:29:40PM +0200, Alejandro Colomar wrote:
> You probably have an old version of the manual page. The current manual
> page documents POSIX.1-2024:
You are quite right! Fedora 44 has man-pages 6.13-3. I am very
surprised that they do not ship the latest man pages because
usually the latest Fedora is well up-to-date.
Thanks for the info! I guess I should contact Fedora about this.
br,
KK
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reallocarray() is now part of POSIX
2026-05-14 21:38 ` Kalevi Kolttonen
@ 2026-05-14 21:44 ` Alejandro Colomar
0 siblings, 0 replies; 4+ messages in thread
From: Alejandro Colomar @ 2026-05-14 21:44 UTC (permalink / raw)
To: Kalevi Kolttonen; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
Hi Kalevi,
On 2026-05-15T00:38:16+0300, Kalevi Kolttonen wrote:
> On Thu, May 14, 2026 at 11:29:40PM +0200, Alejandro Colomar wrote:
> > You probably have an old version of the manual page. The current manual
> > page documents POSIX.1-2024:
>
> You are quite right! Fedora 44 has man-pages 6.13-3. I am very
> surprised that they do not ship the latest man pages because
> usually the latest Fedora is well up-to-date.
>
> Thanks for the info! I guess I should contact Fedora about this.
I contacted Carlos recently. They seem to be finishing the packaging of
the lastest release. I expect they'll finish in few weeks.
Cheers,
Alex
>
> br,
> KK
>
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-14 21:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 21:14 reallocarray() is now part of POSIX Kalevi Kolttonen
2026-05-14 21:29 ` Alejandro Colomar
2026-05-14 21:38 ` Kalevi Kolttonen
2026-05-14 21:44 ` Alejandro Colomar
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.