mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
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:
parent
f6ed9cd68c
commit
dfa0ac74c2
5 changed files with 19 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue