libc: indicate existing functions that are POSIX 2024

Reviewed by:	brooks, imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47581
This commit is contained in:
Ed Maste 2024-11-14 14:30:54 -05:00
parent f6ed9cd68c
commit dfa0ac74c2
5 changed files with 19 additions and 5 deletions

View file

@ -275,7 +275,10 @@ function is expected to conform to
and is not specified by
.St -p1003.1-2008 .
The
.Fn mkostemp ,
.Fn mkostemp
function conforms to
.St -p1003.1-2024 .
The
.Fn mkstemps ,
.Fn mkostemps
and

View file

@ -828,6 +828,12 @@ and
.Fn vdprintf
conform to
.St -p1003.1-2008 .
The functions
.Fn asprintf
and
.Fn vasprintf
conform to
.St -p1003.1-2024 .
.Sh HISTORY
The functions
.Fn asprintf

View file

@ -218,7 +218,8 @@ functions conforms to
.St -p1003.1-2001 .
The
.Fn secure_getenv
function is expected to be glibc-compatible.
function conforms to
.St -p1003.1-2024 .
.Sh HISTORY
The functions
.Fn setenv

View file

@ -131,6 +131,10 @@ if ((newp = reallocarray(p, num, size)) == NULL) {
.Ed
.Sh SEE ALSO
.Xr realloc 3
.Sh STANDARDS
.Fn reallocarray
conforms to
.St -p1003.1-2024 .
.Sh HISTORY
The
.Fn reallocarray

View file

@ -67,10 +67,10 @@ is returned.
.Xr memchr 3 ,
.Xr strchr 3 ,
.Xr strstr 3
.Sh CONFORMING TO
.Sh STANDARDS
.Fn memmem
started as a GNU extension but is now available in at least
the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and illumos C runtime libraries.
conforms to
.St -p1003.1-2024 .
.Sh HISTORY
The
.Fn memmem