mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
man: Add man page sections to function references
Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
parent
ee4d24970a
commit
2c754f435b
32
man/libbsd.7
32
man/libbsd.7
@ -76,7 +76,7 @@ The package also provides a
|
||||
.Pa bsd-ctor
|
||||
static library that can be used to inject automatic constructors into a
|
||||
program so that the
|
||||
.Fn setproctitle_init
|
||||
.Fn setproctitle_init 3
|
||||
function gets invoked automatically at startup time.
|
||||
This can be done with the
|
||||
.Xr pkg-config 3
|
||||
@ -134,7 +134,7 @@ or non-buggy way; or because there are better more portable replacements now.
|
||||
.Pp
|
||||
This is the list of currently deprecated macros and functions:
|
||||
.Bl -tag -width 4m
|
||||
.It Fn fgetln
|
||||
.It Fn fgetln 3
|
||||
Unportable, requires assistance from the stdio layer.
|
||||
An implementation has to choose between leaking buffers or being reentrant
|
||||
for a limited amount of streams (this implementation chose the latter with
|
||||
@ -143,7 +143,7 @@ Use
|
||||
.Fn getline 3
|
||||
instead, which is available in many systems and required by
|
||||
.St -p1003.1-2008 .
|
||||
.It Fn fgetwln
|
||||
.It Fn fgetwln 3
|
||||
Unportable, requires assistance from the stdio layer.
|
||||
An implementation has to choose between leaking buffers or being reentrant
|
||||
for a limited amount of streams (this implementation chose the latter with
|
||||
@ -154,10 +154,10 @@ instead, which is available in many systems and required by
|
||||
.St -isoC-99
|
||||
and
|
||||
.St -p1003.1-2001 .
|
||||
.It Fn funopen
|
||||
.It Fn funopen 3
|
||||
Unportable, requires assistance from the stdio layer or some hook framework.
|
||||
On GNU systems the
|
||||
.Fn fopencookie
|
||||
.Fn fopencookie 3
|
||||
function can be used.
|
||||
Otherwise the code needs to be prepared for neither of these functions being
|
||||
available.
|
||||
@ -171,23 +171,23 @@ are present in all major
|
||||
for example.
|
||||
.Pp
|
||||
.Bl -tag -width 4m -compact
|
||||
.It Fn MD5Init
|
||||
.It Fn MD5Update
|
||||
.It Fn MD5Pad
|
||||
.It Fn MD5Final
|
||||
.It Fn MD5Transform
|
||||
.It Fn MD5End
|
||||
.It Fn MD5File
|
||||
.It Fn MD5FileChunk
|
||||
.It Fn MD5Data
|
||||
.It Fn MD5Init 3
|
||||
.It Fn MD5Update 3
|
||||
.It Fn MD5Pad 3
|
||||
.It Fn MD5Final 3
|
||||
.It Fn MD5Transform 3
|
||||
.It Fn MD5End 3
|
||||
.It Fn MD5File 3
|
||||
.It Fn MD5FileChunk 3
|
||||
.It Fn MD5Data 3
|
||||
The set of MD5 digest functions are now provided by the
|
||||
.Nm libmd
|
||||
companion library, so it is advised to use that instead.
|
||||
.It Fn explicit_bzero
|
||||
.It Fn explicit_bzero 3
|
||||
This function is provided by
|
||||
.Nm glibc
|
||||
2.25.
|
||||
.It Fn reallocarray
|
||||
.It Fn reallocarray 3
|
||||
This function is provided by
|
||||
.Nm glibc
|
||||
2.26.
|
||||
|
Loading…
Reference in New Issue
Block a user