diff --git a/COPYING b/COPYING index 4704162..2e42383 100644 --- a/COPYING +++ b/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 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 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 diff --git a/man/.gitignore b/man/.gitignore index ed4f453..28f8a5b 100644 --- a/man/.gitignore +++ b/man/.gitignore @@ -1,2 +1 @@ -md5.3 md5.3bsd diff --git a/man/Makefile.am b/man/Makefile.am index e4d6e4a..6fb3f79 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -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) diff --git a/man/arc4random.3 b/man/arc4random.3bsd similarity index 100% rename from man/arc4random.3 rename to man/arc4random.3bsd diff --git a/man/arc4random_addrandom.3 b/man/arc4random_addrandom.3 deleted file mode 100644 index 74a34ce..0000000 --- a/man/arc4random_addrandom.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/arc4random.3 diff --git a/man/arc4random_addrandom.3bsd b/man/arc4random_addrandom.3bsd new file mode 100644 index 0000000..edb5192 --- /dev/null +++ b/man/arc4random_addrandom.3bsd @@ -0,0 +1 @@ +.so man3/arc4random.3bsd diff --git a/man/arc4random_buf.3 b/man/arc4random_buf.3 deleted file mode 100644 index 74a34ce..0000000 --- a/man/arc4random_buf.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/arc4random.3 diff --git a/man/arc4random_buf.3bsd b/man/arc4random_buf.3bsd new file mode 100644 index 0000000..edb5192 --- /dev/null +++ b/man/arc4random_buf.3bsd @@ -0,0 +1 @@ +.so man3/arc4random.3bsd diff --git a/man/arc4random_stir.3 b/man/arc4random_stir.3 deleted file mode 100644 index 74a34ce..0000000 --- a/man/arc4random_stir.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/arc4random.3 diff --git a/man/arc4random_stir.3bsd b/man/arc4random_stir.3bsd new file mode 100644 index 0000000..edb5192 --- /dev/null +++ b/man/arc4random_stir.3bsd @@ -0,0 +1 @@ +.so man3/arc4random.3bsd diff --git a/man/arc4random_uniform.3 b/man/arc4random_uniform.3 deleted file mode 100644 index 74a34ce..0000000 --- a/man/arc4random_uniform.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/arc4random.3 diff --git a/man/arc4random_uniform.3bsd b/man/arc4random_uniform.3bsd new file mode 100644 index 0000000..edb5192 --- /dev/null +++ b/man/arc4random_uniform.3bsd @@ -0,0 +1 @@ +.so man3/arc4random.3bsd diff --git a/man/bitstring.3 b/man/bitstring.3bsd similarity index 100% rename from man/bitstring.3 rename to man/bitstring.3bsd diff --git a/man/closefrom.3 b/man/closefrom.3bsd similarity index 100% rename from man/closefrom.3 rename to man/closefrom.3bsd diff --git a/man/dehumanize_number.3 b/man/dehumanize_number.3 deleted file mode 100644 index 7f5dcf3..0000000 --- a/man/dehumanize_number.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/humanize_number.3 diff --git a/man/dehumanize_number.3bsd b/man/dehumanize_number.3bsd new file mode 100644 index 0000000..6118ff8 --- /dev/null +++ b/man/dehumanize_number.3bsd @@ -0,0 +1 @@ +.so man3/humanize_number.3bsd diff --git a/man/expand_number.3 b/man/expand_number.3bsd similarity index 99% rename from man/expand_number.3 rename to man/expand_number.3bsd index 482637d..b97f5e5 100644 --- a/man/expand_number.3 +++ b/man/expand_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 diff --git a/man/explicit_bzero.3 b/man/explicit_bzero.3bsd similarity index 100% rename from man/explicit_bzero.3 rename to man/explicit_bzero.3bsd diff --git a/man/fgetln.3 b/man/fgetln.3bsd similarity index 99% rename from man/fgetln.3 rename to man/fgetln.3bsd index 7dd3fc8..cc7b735 100644 --- a/man/fgetln.3 +++ b/man/fgetln.3bsd @@ -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 diff --git a/man/fgetwln.3 b/man/fgetwln.3bsd similarity index 99% rename from man/fgetwln.3 rename to man/fgetwln.3bsd index 0372d21..7557d52 100644 --- a/man/fgetwln.3 +++ b/man/fgetwln.3bsd @@ -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 diff --git a/man/flopen.3 b/man/flopen.3bsd similarity index 100% rename from man/flopen.3 rename to man/flopen.3bsd diff --git a/man/fmtcheck.3 b/man/fmtcheck.3bsd similarity index 100% rename from man/fmtcheck.3 rename to man/fmtcheck.3bsd diff --git a/man/fparseln.3 b/man/fparseln.3bsd similarity index 100% rename from man/fparseln.3 rename to man/fparseln.3bsd diff --git a/man/getbsize.3 b/man/getbsize.3bsd similarity index 100% rename from man/getbsize.3 rename to man/getbsize.3bsd diff --git a/man/getmode.3 b/man/getmode.3 deleted file mode 100644 index 63315e7..0000000 --- a/man/getmode.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/setmode.3 diff --git a/man/getmode.3bsd b/man/getmode.3bsd new file mode 100644 index 0000000..f5877b2 --- /dev/null +++ b/man/getmode.3bsd @@ -0,0 +1 @@ +.so man3/setmode.3bsd diff --git a/man/getpeereid.3 b/man/getpeereid.3bsd similarity index 100% rename from man/getpeereid.3 rename to man/getpeereid.3bsd diff --git a/man/getprogname.3 b/man/getprogname.3bsd similarity index 99% rename from man/getprogname.3 rename to man/getprogname.3bsd index e83334f..fe32efb 100644 --- a/man/getprogname.3 +++ b/man/getprogname.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 , diff --git a/man/heapsort.3 b/man/heapsort.3bsd similarity index 99% rename from man/heapsort.3 rename to man/heapsort.3bsd index 4261c84..eefe157 100644 --- a/man/heapsort.3 +++ b/man/heapsort.3bsd @@ -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 diff --git a/man/humanize_number.3 b/man/humanize_number.3bsd similarity index 100% rename from man/humanize_number.3 rename to man/humanize_number.3bsd diff --git a/man/mergesort.3 b/man/mergesort.3 deleted file mode 100644 index c1979c3..0000000 --- a/man/mergesort.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/heapsort.3 diff --git a/man/mergesort.3bsd b/man/mergesort.3bsd new file mode 100644 index 0000000..bb6a7b3 --- /dev/null +++ b/man/mergesort.3bsd @@ -0,0 +1 @@ +.so man3/heapsort.3bsd diff --git a/man/nlist.3 b/man/nlist.3bsd similarity index 100% rename from man/nlist.3 rename to man/nlist.3bsd diff --git a/man/pidfile.3 b/man/pidfile.3bsd similarity index 99% rename from man/pidfile.3 rename to man/pidfile.3bsd index e7eaf3f..91596dc 100644 --- a/man/pidfile.3 +++ b/man/pidfile.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 diff --git a/man/queue.3bsd b/man/queue.3bsd index bea33d0..7a5ed95 100644 --- a/man/queue.3bsd +++ b/man/queue.3bsd @@ -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 diff --git a/man/radixsort.3 b/man/radixsort.3bsd similarity index 100% rename from man/radixsort.3 rename to man/radixsort.3bsd diff --git a/man/readpassphrase.3 b/man/readpassphrase.3bsd similarity index 100% rename from man/readpassphrase.3 rename to man/readpassphrase.3bsd diff --git a/man/reallocarray.3 b/man/reallocarray.3bsd similarity index 100% rename from man/reallocarray.3 rename to man/reallocarray.3bsd diff --git a/man/reallocf.3 b/man/reallocf.3bsd similarity index 100% rename from man/reallocf.3 rename to man/reallocf.3bsd diff --git a/man/setmode.3 b/man/setmode.3bsd similarity index 100% rename from man/setmode.3 rename to man/setmode.3bsd diff --git a/man/setproctitle.3 b/man/setproctitle.3bsd similarity index 100% rename from man/setproctitle.3 rename to man/setproctitle.3bsd diff --git a/man/setprogname.3 b/man/setprogname.3 deleted file mode 100644 index 66c00cf..0000000 --- a/man/setprogname.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/getprogname.3 diff --git a/man/setprogname.3bsd b/man/setprogname.3bsd new file mode 100644 index 0000000..954beae --- /dev/null +++ b/man/setprogname.3bsd @@ -0,0 +1 @@ +.so man3/getprogname.3bsd diff --git a/man/sradixsort.3 b/man/sradixsort.3 deleted file mode 100644 index 86a95a3..0000000 --- a/man/sradixsort.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/radixsort.3 diff --git a/man/sradixsort.3bsd b/man/sradixsort.3bsd new file mode 100644 index 0000000..b2ad314 --- /dev/null +++ b/man/sradixsort.3bsd @@ -0,0 +1 @@ +.so man3/radixsort.3bsd diff --git a/man/stringlist.3 b/man/stringlist.3bsd similarity index 100% rename from man/stringlist.3 rename to man/stringlist.3bsd diff --git a/man/strlcat.3 b/man/strlcat.3 deleted file mode 100644 index d968886..0000000 --- a/man/strlcat.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/strlcpy.3 diff --git a/man/strlcat.3bsd b/man/strlcat.3bsd new file mode 100644 index 0000000..ef7f0ea --- /dev/null +++ b/man/strlcat.3bsd @@ -0,0 +1 @@ +.so man3/strlcpy.3bsd diff --git a/man/strlcpy.3 b/man/strlcpy.3bsd similarity index 100% rename from man/strlcpy.3 rename to man/strlcpy.3bsd diff --git a/man/strmode.3 b/man/strmode.3bsd similarity index 99% rename from man/strmode.3 rename to man/strmode.3bsd index 70264c0..b505537 100644 --- a/man/strmode.3 +++ b/man/strmode.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 diff --git a/man/strnstr.3 b/man/strnstr.3bsd similarity index 100% rename from man/strnstr.3 rename to man/strnstr.3bsd diff --git a/man/strtonum.3 b/man/strtonum.3bsd similarity index 100% rename from man/strtonum.3 rename to man/strtonum.3bsd diff --git a/man/tree.3 b/man/tree.3bsd similarity index 99% rename from man/tree.3 rename to man/tree.3bsd index 07cf0aa..643b0ee 100644 --- a/man/tree.3 +++ b/man/tree.3bsd @@ -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 . diff --git a/man/unvis.3 b/man/unvis.3bsd similarity index 99% rename from man/unvis.3 rename to man/unvis.3bsd index 5e01f88..5ff42fe 100644 --- a/man/unvis.3 +++ b/man/unvis.3bsd @@ -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 diff --git a/man/vis.3 b/man/vis.3bsd similarity index 99% rename from man/vis.3 rename to man/vis.3bsd index 65548f0..cf2cd98 100644 --- a/man/vis.3 +++ b/man/vis.3bsd @@ -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 , diff --git a/man/wcslcat.3 b/man/wcslcat.3 deleted file mode 100644 index 15cde50..0000000 --- a/man/wcslcat.3 +++ /dev/null @@ -1 +0,0 @@ -.so man3/wcslcpy.3 diff --git a/man/wcslcat.3bsd b/man/wcslcat.3bsd new file mode 100644 index 0000000..92ff4ff --- /dev/null +++ b/man/wcslcat.3bsd @@ -0,0 +1 @@ +.so man3/wcslcpy.3bsd diff --git a/man/wcslcpy.3 b/man/wcslcpy.3bsd similarity index 97% rename from man/wcslcpy.3 rename to man/wcslcpy.3bsd index 64cbe73..0d6011b 100644 --- a/man/wcslcpy.3 +++ b/man/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