]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Update libbsd header references in man pages
authorGuillem Jover <guillem@hadrons.org>
Wed, 23 Feb 2011 12:14:22 +0000 (13:14 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sat, 14 May 2011 12:16:29 +0000 (14:16 +0200)
Point to the namespaced path for libbsd specific headers.

20 files changed:
TODO
src/arc4random.3
src/fgetln.3
src/flopen.3
src/fmtcheck.3
src/getpeereid.3
src/heapsort.3
src/humanize_number.3
src/mdX.3
src/nlist.3
src/pidfile.3
src/radixsort.3
src/readpassphrase.3
src/reallocf.3
src/setmode.3
src/strlcpy.3
src/strmode.3
src/strtonum.3
src/unvis.3
src/vis.3

diff --git a/TODO b/TODO
index 3a1e3dcf92577c951d6bc5c653ab7d324d4ae2e6..1e96cb50c45b36dc6dd02c633658d9e3a288e8bb 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,3 @@
 * Add more functions used by ported packages (check openssh).
-* Fix includes on man pages.
 * Add missing man pages.
 * Add a README.import file.
index 1043602570048ce08d0e491531c09b7e4ac7af8b..eda74af6523e4834b00282dbd47fc2e1fe59ff2f 100644 (file)
@@ -44,7 +44,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdlib.h
+.In bsd/stdlib.h
 .Ft u_int32_t
 .Fn arc4random "void"
 .Ft void
index cc33a0a7c420e2d0ba7a65bf252485618bfab8dc..7dd3fc810c7ec2a2feebc57ec106f97346f466e2 100644 (file)
@@ -38,7 +38,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdio.h
+.In bsd/stdio.h
 .Ft char *
 .Fn fgetln "FILE *stream" "size_t *len"
 .Sh DESCRIPTION
index 4c53d4611b652cd6eec62f577dfe385dfed7e803..8f81211e78a1ab2e6e75d791de1cbeb17f6be125 100644 (file)
@@ -36,7 +36,7 @@
 .Lb libbsd
 .Sh SYNOPSIS
 .In sys/fcntl.h
-.In libutil.h
+.In bsd/libutil.h
 .Ft int
 .Fn flopen "const char *path" "int flags"
 .Ft int
index 86a3563793caa194de00fa73a1ed42229a5a4e65..7bf5d39ac5675e36952b1915f0a7170f7722d850 100644 (file)
@@ -37,7 +37,7 @@ format string
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdio.h
+.In bsd/stdio.h
 .Ft const char *
 .Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default"
 .Sh DESCRIPTION
index 66ae6c2ac18a98a93745fc2f41267db5f3d4cb4a..84c776e28179ae059d567815020a33ff0c3b49b0 100644 (file)
@@ -36,7 +36,7 @@
 .Lb libbsd
 .Sh SYNOPSIS
 .In sys/types.h
-.In unistd.h
+.In bsd/unistd.h
 .Ft int
 .Fn getpeereid "int s" "uid_t *euid" "gid_t *egid"
 .Sh DESCRIPTION
index bf6ce7fbe24d3a66f19d9c38a32f43e58723d16c..39ed3e0726b757534cc14495aa0b7551d5457f93 100644 (file)
@@ -41,7 +41,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In stdlib.h
+.In bsd/stdlib.h
 .Ft int
 .Fo heapsort
 .Fa "void *base"
index 403e1737c6067487298e0cdb47f1ce39d51e6605..e0ffdf02d2cc5b015b897eaa5a7b3fad91bc6b4c 100644 (file)
@@ -38,7 +38,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdlib.h
+.In bsd/stdlib.h
 .Ft int
 .Fn dehumanize_number "const char *str" "int64_t *result"
 .Ft int
index 963d221a7cfaa17c79d7199b75ab36e838bfa31a..41bf329eb22b8a5cd4f2d733861a82676aeb3299 100644 (file)
--- a/src/mdX.3
+++ b/src/mdX.3
@@ -28,7 +28,7 @@
 .Lb libbsd
 .Sh SYNOPSIS
 .Fd #include <sys/types.h>
-.Fd #include <mdX.h>
+.Fd #include <bsd/mdX.h>
 .Ft void
 .Fn MDXInit "MDX_CTX *context"
 .Ft void
index 3ee5404e5be4b28c9ea0113c022c9d5caad6e971..25624c7838f0626248c12106a3a3c154dc2f8993 100644 (file)
@@ -38,7 +38,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In nlist.h
+.In bsd/nlist.h
 .Ft int
 .Fn nlist "const char *filename" "struct nlist *nl"
 .Sh DESCRIPTION
index 34214c0de69c0b237ae111c9c3411ba9e25a97be..2f84c4486c121b3eb014a4a8f872a7940c9cd90b 100644 (file)
@@ -37,7 +37,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In libutil.h
+.In bsd/libutil.h
 .Ft "struct pidfh *"
 .Fn pidfile_open "const char *path" "mode_t mode" "pid_t *pidptr"
 .Ft int
index dfa65f1359b33faab83967e938772cb06dbea7cd..82a4be72d3a799f042ffd5fac86584615354ec8f 100644 (file)
@@ -38,7 +38,7 @@
 .Lb libc
 .Sh SYNOPSIS
 .In limits.h
-.In stdlib.h
+.In bsd/stdlib.h
 .Ft int
 .Fn radixsort "const unsigned char **base" "int nmemb" "const unsigned char *table" "unsigned endbyte"
 .Ft int
index c9d55a2cba1117303434349cb76af01eccdcee2a..967f8d325fcadc4273ef772f1522f3fc72a40912 100644 (file)
@@ -28,7 +28,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.Fd #include <readpassphrase.h>
+.Fd #include <bsd/readpassphrase.h>
 .Ft char *
 .Fn readpassphrase "const char *prompt" "char *buf" "size_t bufsiz" "int flags"
 .Sh DESCRIPTION
index eee010c63cea25ec1ebe525fc6dc8e39015eb067..99152b6ea6f24fdeafab2c19b5ee6ce6a62e191f 100644 (file)
@@ -42,7 +42,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdlib.h
+.In bsd/stdlib.h
 .Ft void *
 .Fn reallocf "void *ptr" "size_t size"
 .Sh DESCRIPTION
index c0a283761573879ec723f02fc9c38e719f10bf17..ae7c568f6c76771dc2d02ac62d8fe26f452fc277 100644 (file)
@@ -39,7 +39,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In unistd.h
+.In bsd/unistd.h
 .Ft mode_t
 .Fn getmode "const void *set" "mode_t mode"
 .Ft void *
index 74fbafa95dfdd61c60fb3ce104e2dd69c6fd7e22..bf14b4fe965c1ba542e702abccbc98e56e96dfc1 100644 (file)
@@ -25,7 +25,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In string.h
+.In bsd/string.h
 .Ft size_t
 .Fn strlcpy "char *dst" "const char *src" "size_t size"
 .Ft size_t
index b2dfaf48f8dd220238224de7cc1adc4ebf23caf2..70264c06f1567323c69a869f3082c55b06da70bf 100644 (file)
@@ -38,7 +38,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In string.h
+.In bsd/string.h
 .Ft void
 .Fn strmode "mode_t mode" "char *bp"
 .Sh DESCRIPTION
index c5f31118a3b8d21a123c7d6fa1b3035c1556d9b6..42674f0c2c81ccd5f5cc69e3123949662cf75081 100644 (file)
@@ -25,8 +25,8 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In stdlib.h
 .In limits.h
+.In bsd/stdlib.h
 .Ft long long
 .Fo strtonum
 .Fa "const char *nptr"
index f318ecf223cb9d9ccbf9a23eb68d281fdb140a28..5e01f889f5f1116bac9099170f54e9f3c6d5a0b2 100644 (file)
@@ -39,7 +39,7 @@
 .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
 .Lb libbsd
 .Sh SYNOPSIS
-.In vis.h
+.In bsd/vis.h
 .Ft int
 .Fn unvis "char *cp" "char c" "int *astate" "int flag"
 .Ft int
index 3da6eb183029e1dd48d0b24532d576ded5ff76b0..65548f013892732cd6353c600cf01a0e9f195334 100644 (file)
--- a/src/vis.3
+++ b/src/vis.3
@@ -41,7 +41,7 @@
 .Lb libbsd
 .Sh SYNOPSIS
 .In stdlib.h
-.In vis.h
+.In bsd/vis.h
 .Ft char *
 .Fn vis "char *dst" "int c" "int flag" "int nextc"
 .Ft int