mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-07 09:48:12 +01:00
man: Update STANDARDS and HISTORY sections
Include BSD versions when functions were introduced. Add mention whether these are BSD extensions.
This commit is contained in:
parent
7b4ebd6521
commit
59a21c7fb8
@ -135,6 +135,12 @@ These functions first appeared in
|
||||
.Nx 1.6 ,
|
||||
and
|
||||
.Dx 1.0 .
|
||||
The functions
|
||||
.Fn arc4random ,
|
||||
.Fn arc4random_buf
|
||||
and
|
||||
.Fn arc4random_uniform
|
||||
appeared in glibc 2.36.
|
||||
.Pp
|
||||
The original version of this random number generator used the
|
||||
RC4 (also known as ARC4) algorithm.
|
||||
|
@ -51,8 +51,17 @@ from the per-process object reference table.
|
||||
Any errors encountered while closing file descriptors are ignored.
|
||||
.Sh SEE ALSO
|
||||
.Xr close 2
|
||||
.Sh STANDARDS
|
||||
.Fn closefrom
|
||||
is a
|
||||
.Bx
|
||||
and Solaris extension.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn closefrom
|
||||
function first appeared in
|
||||
.Fx 8.0 .
|
||||
function first appeared in Solaris 9,
|
||||
.Ox 3.5 ,
|
||||
.Dx 1.2 ,
|
||||
.Nx 3 ,
|
||||
.Fx 8.0
|
||||
and glibc 2.26.
|
||||
|
@ -150,4 +150,6 @@ if it runs out of memory.
|
||||
The
|
||||
.Fn fparseln
|
||||
function first appeared in
|
||||
.Nx 1.4 .
|
||||
.Nx 1.4
|
||||
and
|
||||
.Fx 4.0 .
|
||||
|
@ -139,4 +139,7 @@ or the kernel returned invalid data.
|
||||
The
|
||||
.Fn getpeereid
|
||||
function appeared in
|
||||
.Fx 4.6 .
|
||||
.Fx 4.6 ,
|
||||
.Nx 5.0
|
||||
and
|
||||
.Ox 3.0 .
|
||||
|
@ -166,7 +166,9 @@ represented a number that does not fit in
|
||||
.Sh HISTORY
|
||||
.Fn humanize_number
|
||||
first appeared in
|
||||
.Nx 2.0 .
|
||||
.Nx 2.0
|
||||
and
|
||||
.Fx 5.3 .
|
||||
.Pp
|
||||
.Fn dehumanize_number
|
||||
first appeared in
|
||||
|
@ -292,6 +292,20 @@ Probably called not from the process which used
|
||||
.Xr open 2 ,
|
||||
.Xr daemon 3 ,
|
||||
.Xr flopen 3bsd
|
||||
.Sh HISTORY
|
||||
The functions
|
||||
.Fn pidfile_open ,
|
||||
.Fn pidfile_write ,
|
||||
.Fn pidfile_close
|
||||
and
|
||||
.Fn pidfile_remove
|
||||
first appeared in
|
||||
.Fx 5.5 .
|
||||
.Pp
|
||||
The function
|
||||
.Fn pidfile_fileno
|
||||
first appeared in
|
||||
.Fx 10.0 .
|
||||
.Sh AUTHORS
|
||||
.An -nosplit
|
||||
The
|
||||
|
@ -137,7 +137,7 @@ The
|
||||
.Fn uid_from_user
|
||||
and
|
||||
.Fn gid_from_group
|
||||
functions were ported from
|
||||
.Nx
|
||||
and first appeared in
|
||||
functions first appeared in
|
||||
.Nx 1.4
|
||||
and
|
||||
.Ox 6.4 .
|
||||
|
@ -165,10 +165,12 @@ will reprint the prompt and the user may then enter a passphrase.
|
||||
The
|
||||
.Fn readpassphrase
|
||||
function is an
|
||||
.Ox
|
||||
.Bx
|
||||
extension and should not be used if portability is desired.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn readpassphrase
|
||||
function first appeared in
|
||||
.Ox 2.9 .
|
||||
.Ox 2.9
|
||||
and
|
||||
.Fx 4.6 .
|
||||
|
@ -283,12 +283,18 @@ The
|
||||
.Fn reallocarray
|
||||
function appeared in
|
||||
.Ox 5.6 ,
|
||||
.Dx 5.5
|
||||
and glibc 2.26.
|
||||
.Pp
|
||||
The
|
||||
.Fn recallocarray
|
||||
function appeared in
|
||||
.Ox 6.1 .
|
||||
.Ox 6.1
|
||||
and
|
||||
.Dx 5.5 .
|
||||
The
|
||||
.Fn freezero
|
||||
function appeared in
|
||||
.Ox 6.2 .
|
||||
.Ox 6.2
|
||||
and
|
||||
.Dx 5.5 .
|
||||
|
@ -112,6 +112,8 @@ The
|
||||
.Fn setproctitle
|
||||
function
|
||||
first appeared in
|
||||
.Nx 1.0
|
||||
and
|
||||
.Fx 2.2 .
|
||||
Other operating systems have
|
||||
similar functions.
|
||||
|
@ -192,4 +192,6 @@ and
|
||||
functions first appeared in
|
||||
.Ox 2.4 ,
|
||||
and made their appearance in
|
||||
.Nx 1.4.3
|
||||
and
|
||||
.Fx 3.3 .
|
||||
|
@ -112,3 +112,8 @@ ptr = strnstr(largestring, smallstring, 4);
|
||||
.Xr strspn 3 ,
|
||||
.Xr strtok 3 ,
|
||||
.Xr wcsstr 3
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn strnstr
|
||||
function originated in
|
||||
.Fx .
|
||||
|
@ -141,8 +141,8 @@ The string did not consist solely of digit characters.
|
||||
.Xr strtoull 3
|
||||
.Sh STANDARDS
|
||||
.Fn strtonum
|
||||
is an
|
||||
.Ox
|
||||
is a
|
||||
.Bx
|
||||
extension.
|
||||
.Sh HISTORY
|
||||
.ds doc-operating-system-NetBSD-8.0 8.0
|
||||
|
@ -562,6 +562,9 @@ main(void)
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr queue 3bsd
|
||||
.Sh HISTORY
|
||||
The tree macros first appeared in
|
||||
.Fx 4.6 .
|
||||
.Sh NOTES
|
||||
Trying to free a tree in the following way is a common error:
|
||||
.Bd -literal -offset indent
|
||||
|
@ -69,3 +69,14 @@ counterpart, such as
|
||||
and
|
||||
.Fn wcslcpy ,
|
||||
which are BSD extensions.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn wcslcpy
|
||||
and
|
||||
.Fn wcslcat
|
||||
functions first appeared in
|
||||
.Ox 3.8 ,
|
||||
.Nx 1.6 ,
|
||||
.Fx 5.0
|
||||
and
|
||||
.Dx 2.1.1 .
|
||||
|
Loading…
Reference in New Issue
Block a user