Update libbsd header references in man pages

Point to the namespaced path for libbsd specific headers.
This commit is contained in:
Guillem Jover 2011-02-23 13:14:22 +01:00
parent f7caf2b30d
commit 8478e57463
20 changed files with 19 additions and 20 deletions

1
TODO
View File

@ -1,4 +1,3 @@
* Add more functions used by ported packages (check openssh). * Add more functions used by ported packages (check openssh).
* Fix includes on man pages.
* Add missing man pages. * Add missing man pages.
* Add a README.import file. * Add a README.import file.

View File

@ -44,7 +44,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h .In bsd/stdlib.h
.Ft u_int32_t .Ft u_int32_t
.Fn arc4random "void" .Fn arc4random "void"
.Ft void .Ft void

View File

@ -38,7 +38,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdio.h .In bsd/stdio.h
.Ft char * .Ft char *
.Fn fgetln "FILE *stream" "size_t *len" .Fn fgetln "FILE *stream" "size_t *len"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -36,7 +36,7 @@
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/fcntl.h .In sys/fcntl.h
.In libutil.h .In bsd/libutil.h
.Ft int .Ft int
.Fn flopen "const char *path" "int flags" .Fn flopen "const char *path" "int flags"
.Ft int .Ft int

View File

@ -37,7 +37,7 @@ format string
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdio.h .In bsd/stdio.h
.Ft const char * .Ft const char *
.Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default" .Fn fmtcheck "const char *fmt_suspect" "const char *fmt_default"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -36,7 +36,7 @@
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/types.h
.In unistd.h .In bsd/unistd.h
.Ft int .Ft int
.Fn getpeereid "int s" "uid_t *euid" "gid_t *egid" .Fn getpeereid "int s" "uid_t *euid" "gid_t *egid"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -41,7 +41,7 @@
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h .In bsd/stdlib.h
.Ft int .Ft int
.Fo heapsort .Fo heapsort
.Fa "void *base" .Fa "void *base"

View File

@ -38,7 +38,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h .In bsd/stdlib.h
.Ft int .Ft int
.Fn dehumanize_number "const char *str" "int64_t *result" .Fn dehumanize_number "const char *str" "int64_t *result"
.Ft int .Ft int

View File

@ -28,7 +28,7 @@
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .Fd #include <sys/types.h>
.Fd #include <mdX.h> .Fd #include <bsd/mdX.h>
.Ft void .Ft void
.Fn MDXInit "MDX_CTX *context" .Fn MDXInit "MDX_CTX *context"
.Ft void .Ft void

View File

@ -38,7 +38,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In nlist.h .In bsd/nlist.h
.Ft int .Ft int
.Fn nlist "const char *filename" "struct nlist *nl" .Fn nlist "const char *filename" "struct nlist *nl"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -37,7 +37,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In libutil.h .In bsd/libutil.h
.Ft "struct pidfh *" .Ft "struct pidfh *"
.Fn pidfile_open "const char *path" "mode_t mode" "pid_t *pidptr" .Fn pidfile_open "const char *path" "mode_t mode" "pid_t *pidptr"
.Ft int .Ft int

View File

@ -38,7 +38,7 @@
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.In limits.h .In limits.h
.In stdlib.h .In bsd/stdlib.h
.Ft int .Ft int
.Fn radixsort "const unsigned char **base" "int nmemb" "const unsigned char *table" "unsigned endbyte" .Fn radixsort "const unsigned char **base" "int nmemb" "const unsigned char *table" "unsigned endbyte"
.Ft int .Ft int

View File

@ -28,7 +28,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <readpassphrase.h> .Fd #include <bsd/readpassphrase.h>
.Ft char * .Ft char *
.Fn readpassphrase "const char *prompt" "char *buf" "size_t bufsiz" "int flags" .Fn readpassphrase "const char *prompt" "char *buf" "size_t bufsiz" "int flags"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -42,7 +42,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h .In bsd/stdlib.h
.Ft void * .Ft void *
.Fn reallocf "void *ptr" "size_t size" .Fn reallocf "void *ptr" "size_t size"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -39,7 +39,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In unistd.h .In bsd/unistd.h
.Ft mode_t .Ft mode_t
.Fn getmode "const void *set" "mode_t mode" .Fn getmode "const void *set" "mode_t mode"
.Ft void * .Ft void *

View File

@ -25,7 +25,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h .In bsd/string.h
.Ft size_t .Ft size_t
.Fn strlcpy "char *dst" "const char *src" "size_t size" .Fn strlcpy "char *dst" "const char *src" "size_t size"
.Ft size_t .Ft size_t

View File

@ -38,7 +38,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h .In bsd/string.h
.Ft void .Ft void
.Fn strmode "mode_t mode" "char *bp" .Fn strmode "mode_t mode" "char *bp"
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@ -25,8 +25,8 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h
.In limits.h .In limits.h
.In bsd/stdlib.h
.Ft long long .Ft long long
.Fo strtonum .Fo strtonum
.Fa "const char *nptr" .Fa "const char *nptr"

View File

@ -39,7 +39,7 @@
.ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd)
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In vis.h .In bsd/vis.h
.Ft int .Ft int
.Fn unvis "char *cp" "char c" "int *astate" "int flag" .Fn unvis "char *cp" "char c" "int *astate" "int flag"
.Ft int .Ft int

View File

@ -41,7 +41,7 @@
.Lb libbsd .Lb libbsd
.Sh SYNOPSIS .Sh SYNOPSIS
.In stdlib.h .In stdlib.h
.In vis.h .In bsd/vis.h
.Ft char * .Ft char *
.Fn vis "char *dst" "int c" "int flag" "int nextc" .Fn vis "char *dst" "int c" "int flag" "int nextc"
.Ft int .Ft int