From 183cc3cbf1c42eedbde8cf18da52ec0004b9049f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 11 Dec 2009 21:31:48 +0100 Subject: [PATCH] Correct library name in man pages --- man/arc4random.3 | 3 ++- man/fgetln.3 | 3 ++- man/fmtcheck.3 | 3 ++- man/humanize_number.3 | 3 +++ man/mdX.3 | 3 +++ man/nlist.3 | 3 ++- man/readpassphrase.3 | 3 +++ man/setmode.3 | 3 ++- man/strlcpy.3 | 3 ++- man/strmode.3 | 3 ++- man/strtonum.3 | 3 +++ 11 files changed, 26 insertions(+), 7 deletions(-) diff --git a/man/arc4random.3 b/man/arc4random.3 index a6aaf9f..09c24c6 100644 --- a/man/arc4random.3 +++ b/man/arc4random.3 @@ -39,7 +39,8 @@ .Nm arc4random_addrandom .Nd arc4 random number generator .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In stdlib.h .Ft u_int32_t diff --git a/man/fgetln.3 b/man/fgetln.3 index c01d1ef..cc33a0a 100644 --- a/man/fgetln.3 +++ b/man/fgetln.3 @@ -35,7 +35,8 @@ .Nm fgetln .Nd get a line from a stream .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In stdio.h .Ft char * diff --git a/man/fmtcheck.3 b/man/fmtcheck.3 index 3b99968..86a3563 100644 --- a/man/fmtcheck.3 +++ b/man/fmtcheck.3 @@ -34,7 +34,8 @@ .Xr printf 3 Ns -style format string .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In stdio.h .Ft const char * diff --git a/man/humanize_number.3 b/man/humanize_number.3 index 90465af..fb91d3b 100644 --- a/man/humanize_number.3 +++ b/man/humanize_number.3 @@ -34,6 +34,9 @@ .Nm dehumanize_number , .Nm humanize_number .Nd format a number into a human readable form and viceversa +.Sh LIBRARY +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In stdlib.h .Ft int diff --git a/man/mdX.3 b/man/mdX.3 index 5393969..963d221 100644 --- a/man/mdX.3 +++ b/man/mdX.3 @@ -23,6 +23,9 @@ .Nm MDXFileChunk , .Nm MDXData .Nd calculate the RSA Data Security, Inc., ``MDX'' message digest +.Sh LIBRARY +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .Fd #include .Fd #include diff --git a/man/nlist.3 b/man/nlist.3 index 6a9b367..3ee5404 100644 --- a/man/nlist.3 +++ b/man/nlist.3 @@ -35,7 +35,8 @@ .Nm nlist .Nd retrieve symbol table name list from an executable file .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In nlist.h .Ft int diff --git a/man/readpassphrase.3 b/man/readpassphrase.3 index bec7378..c9d55a2 100644 --- a/man/readpassphrase.3 +++ b/man/readpassphrase.3 @@ -24,6 +24,9 @@ .Sh NAME .Nm readpassphrase .Nd get a passphrase from the user +.Sh LIBRARY +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .Fd #include .Ft char * diff --git a/man/setmode.3 b/man/setmode.3 index 94fd5d1..c0a2837 100644 --- a/man/setmode.3 +++ b/man/setmode.3 @@ -36,7 +36,8 @@ .Nm setmode .Nd modify mode bits .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In unistd.h .Ft mode_t diff --git a/man/strlcpy.3 b/man/strlcpy.3 index 6a043e3..d32c688 100644 --- a/man/strlcpy.3 +++ b/man/strlcpy.3 @@ -35,7 +35,8 @@ .Nm strlcat .Nd size-bounded string copying and concatenation .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In string.h .Ft size_t diff --git a/man/strmode.3 b/man/strmode.3 index e119453..b2dfaf4 100644 --- a/man/strmode.3 +++ b/man/strmode.3 @@ -35,7 +35,8 @@ .Nm strmode .Nd convert inode status information into a symbolic string .Sh LIBRARY -.Lb libc +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In string.h .Ft void diff --git a/man/strtonum.3 b/man/strtonum.3 index 90f0b57..c5f3111 100644 --- a/man/strtonum.3 +++ b/man/strtonum.3 @@ -21,6 +21,9 @@ .Sh NAME .Nm strtonum .Nd "reliably convert string value to an integer" +.Sh LIBRARY +.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.Lb libbsd .Sh SYNOPSIS .In stdlib.h .In limits.h