mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-07 09:48:12 +01:00
man: Move all man pages to section 3bsd
This should guarantee that even if the system provides or will provide native implementations of these functions, we will not have file conflicts.
This commit is contained in:
parent
07c76b666d
commit
f20e6972b3
64
COPYING
64
COPYING
@ -7,8 +7,8 @@ Copyright:
|
||||
License: BSD-3-clause
|
||||
|
||||
Files:
|
||||
man/arc4random.3
|
||||
man/tree.3
|
||||
man/arc4random.3bsd
|
||||
man/tree.3bsd
|
||||
Copyright:
|
||||
Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
|
||||
All rights reserved.
|
||||
@ -39,7 +39,7 @@ License: BSD-4-clause-Niels-Provos
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Files:
|
||||
man/getprogname.3
|
||||
man/getprogname.3bsd
|
||||
Copyright:
|
||||
Copyright © 2001 Christopher G. Demetriou
|
||||
All rights reserved.
|
||||
@ -92,24 +92,24 @@ Files:
|
||||
include/bsd/sys/queue.h
|
||||
include/bsd/timeconv.h
|
||||
include/bsd/vis.h
|
||||
man/bitstring.3
|
||||
man/explicit_bzero.3
|
||||
man/fgetln.3
|
||||
man/fgetwln.3
|
||||
man/bitstring.3bsd
|
||||
man/explicit_bzero.3bsd
|
||||
man/fgetln.3bsd
|
||||
man/fgetwln.3bsd
|
||||
man/funopen.3bsd
|
||||
man/getbsize.3
|
||||
man/heapsort.3
|
||||
man/nlist.3
|
||||
man/getbsize.3bsd
|
||||
man/heapsort.3bsd
|
||||
man/nlist.3bsd
|
||||
man/queue.3bsd
|
||||
man/radixsort.3
|
||||
man/reallocarray.3
|
||||
man/reallocf.3
|
||||
man/setmode.3
|
||||
man/strmode.3
|
||||
man/strnstr.3
|
||||
man/unvis.3
|
||||
man/vis.3
|
||||
man/wcslcpy.3
|
||||
man/radixsort.3bsd
|
||||
man/reallocarray.3bsd
|
||||
man/reallocf.3bsd
|
||||
man/setmode.3bsd
|
||||
man/strmode.3bsd
|
||||
man/strnstr.3bsd
|
||||
man/unvis.3bsd
|
||||
man/vis.3bsd
|
||||
man/wcslcpy.3bsd
|
||||
src/getbsize.c
|
||||
src/heapsort.c
|
||||
src/merge.c
|
||||
@ -207,7 +207,7 @@ License: BSD-3-clause-Peter-Wemm
|
||||
SUCH DAMAGE.
|
||||
|
||||
Files:
|
||||
man/setproctitle.3
|
||||
man/setproctitle.3bsd
|
||||
Copyright:
|
||||
Copyright © 1995 Peter Wemm <peter@FreeBSD.org>
|
||||
All rights reserved.
|
||||
@ -230,9 +230,9 @@ License: BSD-5-clause-Peter-Wemm
|
||||
|
||||
Files:
|
||||
include/bsd/stringlist.h
|
||||
man/fmtcheck.3
|
||||
man/humanize_number.3
|
||||
man/stringlist.3
|
||||
man/fmtcheck.3bsd
|
||||
man/humanize_number.3bsd
|
||||
man/stringlist.3bsd
|
||||
src/fmtcheck.c
|
||||
src/humanize_number.c
|
||||
src/stringlist.c
|
||||
@ -278,11 +278,11 @@ License: BSD-2-clause-NetBSD
|
||||
|
||||
Files:
|
||||
include/bsd/sys/endian.h
|
||||
man/expand_number.3
|
||||
man/closefrom.3
|
||||
man/flopen.3
|
||||
man/getpeereid.3
|
||||
man/pidfile.3
|
||||
man/expand_number.3bsd
|
||||
man/closefrom.3bsd
|
||||
man/flopen.3bsd
|
||||
man/getpeereid.3bsd
|
||||
man/pidfile.3bsd
|
||||
src/expand_number.c
|
||||
src/hash/sha512.h
|
||||
src/hash/sha512c.c
|
||||
@ -352,7 +352,7 @@ License: BSD-2-clause-verbatim
|
||||
|
||||
Files:
|
||||
include/bsd/sys/tree.h
|
||||
man/fparseln.3
|
||||
man/fparseln.3bsd
|
||||
src/fparseln.c
|
||||
Copyright:
|
||||
Copyright © 1997 Christos Zoulas.
|
||||
@ -383,9 +383,9 @@ License: BSD-2-clause-author
|
||||
|
||||
Files:
|
||||
include/bsd/readpassphrase.h
|
||||
man/readpassphrase.3
|
||||
man/strlcpy.3
|
||||
man/strtonum.3
|
||||
man/readpassphrase.3bsd
|
||||
man/strlcpy.3bsd
|
||||
man/strtonum.3bsd
|
||||
src/arc4random.c
|
||||
src/arc4random_openbsd.h
|
||||
src/arc4random_uniform.c
|
||||
|
1
man/.gitignore
vendored
1
man/.gitignore
vendored
@ -1,2 +1 @@
|
||||
md5.3
|
||||
md5.3bsd
|
||||
|
@ -14,50 +14,50 @@ md5.3bsd: $(srcdir)/mdX.3bsd
|
||||
$(AM_V_GEN) sed $(SED_MD5_SUBST) $< > $@
|
||||
|
||||
dist_man_MANS = \
|
||||
arc4random.3 \
|
||||
arc4random_addrandom.3 \
|
||||
arc4random_buf.3 \
|
||||
arc4random_stir.3 \
|
||||
arc4random_uniform.3 \
|
||||
bitstring.3 \
|
||||
closefrom.3 \
|
||||
dehumanize_number.3 \
|
||||
expand_number.3 \
|
||||
explicit_bzero.3 \
|
||||
fgetln.3 \
|
||||
fgetwln.3 \
|
||||
flopen.3 \
|
||||
fmtcheck.3 \
|
||||
fparseln.3 \
|
||||
arc4random.3bsd \
|
||||
arc4random_addrandom.3bsd \
|
||||
arc4random_buf.3bsd \
|
||||
arc4random_stir.3bsd \
|
||||
arc4random_uniform.3bsd \
|
||||
bitstring.3bsd \
|
||||
closefrom.3bsd \
|
||||
dehumanize_number.3bsd \
|
||||
expand_number.3bsd \
|
||||
explicit_bzero.3bsd \
|
||||
fgetln.3bsd \
|
||||
fgetwln.3bsd \
|
||||
flopen.3bsd \
|
||||
fmtcheck.3bsd \
|
||||
fparseln.3bsd \
|
||||
funopen.3bsd \
|
||||
getbsize.3 \
|
||||
getmode.3 \
|
||||
getpeereid.3 \
|
||||
getprogname.3 \
|
||||
heapsort.3 \
|
||||
humanize_number.3 \
|
||||
getbsize.3bsd \
|
||||
getmode.3bsd \
|
||||
getpeereid.3bsd \
|
||||
getprogname.3bsd \
|
||||
heapsort.3bsd \
|
||||
humanize_number.3bsd \
|
||||
md5.3bsd \
|
||||
mergesort.3 \
|
||||
nlist.3 \
|
||||
pidfile.3 \
|
||||
mergesort.3bsd \
|
||||
nlist.3bsd \
|
||||
pidfile.3bsd \
|
||||
queue.3bsd \
|
||||
radixsort.3 \
|
||||
readpassphrase.3 \
|
||||
reallocarray.3 \
|
||||
reallocf.3 \
|
||||
setmode.3 \
|
||||
setproctitle.3 \
|
||||
setprogname.3 \
|
||||
sradixsort.3 \
|
||||
stringlist.3 \
|
||||
strlcat.3 \
|
||||
strlcpy.3 \
|
||||
strnstr.3 \
|
||||
strmode.3 \
|
||||
strtonum.3 \
|
||||
tree.3 \
|
||||
unvis.3 \
|
||||
vis.3 \
|
||||
wcslcat.3 \
|
||||
wcslcpy.3 \
|
||||
radixsort.3bsd \
|
||||
readpassphrase.3bsd \
|
||||
reallocarray.3bsd \
|
||||
reallocf.3bsd \
|
||||
setmode.3bsd \
|
||||
setproctitle.3bsd \
|
||||
setprogname.3bsd \
|
||||
sradixsort.3bsd \
|
||||
stringlist.3bsd \
|
||||
strlcat.3bsd \
|
||||
strlcpy.3bsd \
|
||||
strnstr.3bsd \
|
||||
strmode.3bsd \
|
||||
strtonum.3bsd \
|
||||
tree.3bsd \
|
||||
unvis.3bsd \
|
||||
vis.3bsd \
|
||||
wcslcat.3bsd \
|
||||
wcslcpy.3bsd \
|
||||
$(nil)
|
||||
|
@ -1 +0,0 @@
|
||||
.so man3/arc4random.3
|
1
man/arc4random_addrandom.3bsd
Normal file
1
man/arc4random_addrandom.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/arc4random.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/arc4random.3
|
1
man/arc4random_buf.3bsd
Normal file
1
man/arc4random_buf.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/arc4random.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/arc4random.3
|
1
man/arc4random_stir.3bsd
Normal file
1
man/arc4random_stir.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/arc4random.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/arc4random.3
|
1
man/arc4random_uniform.3bsd
Normal file
1
man/arc4random_uniform.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/arc4random.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/humanize_number.3
|
1
man/dehumanize_number.3bsd
Normal file
1
man/dehumanize_number.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/humanize_number.3bsd
|
@ -79,7 +79,7 @@ An unrecognized prefix was given.
|
||||
Result doesn't fit into 64 bits.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr humanize_number 3
|
||||
.Xr humanize_number 3bsd
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn expand_number
|
@ -115,7 +115,7 @@ or
|
||||
.Sh SEE ALSO
|
||||
.Xr ferror 3 ,
|
||||
.Xr fgets 3 ,
|
||||
.Xr fgetwln 3 ,
|
||||
.Xr fgetwln 3bsd ,
|
||||
.Xr fopen 3 ,
|
||||
.Xr putc 3
|
||||
.Sh HISTORY
|
@ -112,6 +112,6 @@ or
|
||||
.Xr read 2 .
|
||||
.Sh SEE ALSO
|
||||
.Xr ferror 3 ,
|
||||
.Xr fgetln 3 ,
|
||||
.Xr fgetln 3bsd ,
|
||||
.Xr fgetws 3 ,
|
||||
.Xr fopen 3
|
@ -1 +0,0 @@
|
||||
.so man3/setmode.3
|
1
man/getmode.3bsd
Normal file
1
man/getmode.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/setmode.3bsd
|
@ -87,7 +87,7 @@ allows the aforementioned library to learn the program name without
|
||||
modifications to the start-up code.
|
||||
.Sh SEE ALSO
|
||||
.Xr err 3 ,
|
||||
.Xr setproctitle 3
|
||||
.Xr setproctitle 3bsd
|
||||
.Sh HISTORY
|
||||
These functions first appeared in
|
||||
.Nx 1.6 ,
|
@ -174,7 +174,7 @@ were unable to allocate memory.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr sort 1 ,
|
||||
.Xr radixsort 3
|
||||
.Xr radixsort 3bsd
|
||||
.Rs
|
||||
.%A Williams, J.W.J
|
||||
.%D 1964
|
@ -1 +0,0 @@
|
||||
.so man3/heapsort.3
|
1
man/mergesort.3bsd
Normal file
1
man/mergesort.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/heapsort.3bsd
|
@ -51,7 +51,7 @@ The
|
||||
.Nm pidfile
|
||||
family of functions allows daemons to handle PID files.
|
||||
It uses
|
||||
.Xr flopen 3
|
||||
.Xr flopen 3bsd
|
||||
to lock a pidfile and detect already running daemons.
|
||||
.Pp
|
||||
The
|
||||
@ -237,12 +237,12 @@ for any errors specified for the
|
||||
and
|
||||
.Xr unlink 2
|
||||
system calls and the
|
||||
.Xr flopen 3
|
||||
.Xr flopen 3bsd
|
||||
library function.
|
||||
.Sh SEE ALSO
|
||||
.Xr open 2 ,
|
||||
.Xr daemon 3 ,
|
||||
.Xr flopen 3
|
||||
.Xr flopen 3bsd
|
||||
.Sh AUTHORS
|
||||
.An -nosplit
|
||||
The
|
@ -1204,7 +1204,7 @@ while (n1 != NULL) {
|
||||
TAILQ_INIT(&head);
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr tree 3
|
||||
.Xr tree 3bsd
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm queue
|
||||
|
@ -1 +0,0 @@
|
||||
.so man3/getprogname.3
|
1
man/setprogname.3bsd
Normal file
1
man/setprogname.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/getprogname.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/radixsort.3
|
1
man/sradixsort.3bsd
Normal file
1
man/sradixsort.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/radixsort.3bsd
|
@ -1 +0,0 @@
|
||||
.so man3/strlcpy.3
|
1
man/strlcat.3bsd
Normal file
1
man/strlcat.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/strlcpy.3bsd
|
@ -136,8 +136,8 @@ it will be a space.
|
||||
.Xr chmod 1 ,
|
||||
.Xr find 1 ,
|
||||
.Xr stat 2 ,
|
||||
.Xr getmode 3 ,
|
||||
.Xr setmode 3
|
||||
.Xr getmode 3bsd ,
|
||||
.Xr setmode 3bsd
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn strmode
|
@ -498,7 +498,7 @@ return the pointer to the removed element otherwise they return
|
||||
.Dv NULL
|
||||
to indicate an error.
|
||||
.Sh SEE ALSO
|
||||
.Xr queue 3
|
||||
.Xr queue 3bsd
|
||||
.Sh AUTHORS
|
||||
The author of the tree macros is
|
||||
.An Niels Provos .
|
@ -54,7 +54,7 @@ and
|
||||
.Fn strnunvis
|
||||
functions are used to decode a visual representation of characters,
|
||||
as produced by the
|
||||
.Xr vis 3
|
||||
.Xr vis 3bsd
|
||||
function, back into the original form.
|
||||
.Fn unvis
|
||||
is called with successive characters in
|
||||
@ -190,7 +190,7 @@ if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID)
|
||||
.Sh SEE ALSO
|
||||
.Xr unvis 1 ,
|
||||
.Xr vis 1 ,
|
||||
.Xr vis 3
|
||||
.Xr vis 3bsd
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn unvis
|
@ -151,9 +151,9 @@ must not be used without checking it against
|
||||
The encoding is a unique, invertible representation composed entirely of
|
||||
graphic characters; it can be decoded back into the original form using
|
||||
the
|
||||
.Xr unvis 3
|
||||
.Xr unvis 3bsd
|
||||
or
|
||||
.Xr strunvis 3
|
||||
.Xr strunvis 3bsd
|
||||
functions.
|
||||
.Pp
|
||||
There are two parameters that can be controlled: the range of
|
||||
@ -305,8 +305,8 @@ ambiguous and non-invertible.
|
||||
.Xr unvis 1 ,
|
||||
.Xr vis 1 ,
|
||||
.Xr snprintf 3 ,
|
||||
.Xr strlcpy 3 ,
|
||||
.Xr unvis 3
|
||||
.Xr strlcpy 3bsd ,
|
||||
.Xr unvis 3bsd
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn vis ,
|
@ -1 +0,0 @@
|
||||
.so man3/wcslcpy.3
|
1
man/wcslcat.3bsd
Normal file
1
man/wcslcat.3bsd
Normal file
@ -0,0 +1 @@
|
||||
.so man3/wcslcpy.3bsd
|
@ -56,10 +56,10 @@ The functions implement string manipulation operations over wide character
|
||||
strings.
|
||||
For a detailed description, refer to documents for the respective single-byte
|
||||
counterpart, such as
|
||||
.Xr strlcpy 3 .
|
||||
.Xr strlcpy 3bsd .
|
||||
.Sh SEE ALSO
|
||||
.Xr strlcat 3 ,
|
||||
.Xr strlcpy 3 ,
|
||||
.Xr strlcat 3bsd ,
|
||||
.Xr strlcpy 3bsd .
|
||||
.Sh STANDARDS
|
||||
.Fn wcslcat
|
||||
and
|
Loading…
Reference in New Issue
Block a user