Re: [PATCH 1/2] man/man3/{mem,strn}*(): SYNOPSIS, STANDARDS: Document these as provided by <memory.h>

"G. Branden Robinson" <[email protected]> Fri, 31 Jul 2026 17:28:36 -0500
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.linux.man,gmane.comp.lib.glibc.alpha
Message-ID <20260731222836.ka7ytufa365po3ll@illithid>
Hi Alex,

At 2026-08-01T00:21:34+0200, Alejandro Colomar wrote:
> > Date: 2026-07-31 22:10:13+0000
> > From: Joseph Myers <[email protected]>
> > man-pages should document the world of C APIs as it is, in a way
> > that has broad community agreement; it should follow, not lead, on
> > any changes.
> > 
> > When an API has been in <string.h> since 1989, that means
> > documenting <string.h> as the main location for that API - not some
> > other location one person thinks is better and that most of the
> > community has never heard of.
> 
> FWIW, the APIs have been in <memory.h> since 1986 in 4.3BSD, and in
> System V they go back further to 1983.

I meant to respond earlier with this research tidbit, but I've been busy
with preparing groff 1.25.0.rc2 and Mark Harris stepped in with much the
same info.  Thanks, Mark!

https://github.com/ryanwoodsmall/oldsysv/blob/master/sysv-pdp11_tape/usr/include/memory.h

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmptIZMACgkQ0Z6cfXEm
bc6hExAAmlsKBwF8u+U+E5+ArZjFcyIUWTbgrMu+MCPIqJJ8cZu7605tW53AYyiH
OZhFlp9QXYCkiO7e0W30D/0CBAwa77FSS5Mi/mkBY8KWSeE7zFeCqbwWGQp9Omtl
LmM4yjLdYRCjkSkC03ISw+9UKJMzBNLDStX+0pQpXxVqshp65Ryvxz0q1NoCPTey
5ujpxX1aGtkqkg5RqMDN8mMFVuVKmELfQ6pEHhaYGiXeLGveC6w+pJz/eChCWu8a
4BdJVpKQcLNWYP9ZGCGXxor365aoJH7ZntbjFqklVFKhqnfmebXYIX4twHUHcZWB
MLNNE5UdmkMdAetSFopway7Lr8UiyuU2EvV1lmbZpnXz+e/c2lNRaeKHBufDR5iL
6zBfQtbxCD/xHtPcgSLwazpke9R7Or0Qm/kCaWt8yIY0+t9ozry/PnlW9325ZSF1
SeAGSh0W+z+LZBDZ4wVD+b2Nh9yYSa9MLbBIxtXqGusouQCAPvN5ULInC7tPewGh
THVJqyDA+R468tiilLCKYGgqu0DjiXuw6gttk0209eQiIWwcy+DZCfYDegmAu0d5
/2Dd7i63jitTlSwbyStnaKzyjgOwY3s7Mj4KVBbuiRvvBXsVwWX8vslVBkyf8+Ph
VxHN2EABMpsG066wTGxJWtKoE8LnIFXBcj7sLcDlZiTi9fW83Oo=
=DQjF
-----END PGP SIGNATURE-----