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).
* Fix includes on man pages.
* Add missing man pages.
* Add a README.import file.

View 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

View 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

View 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

View 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

View 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

View 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"

View 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

View File

@ -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

View 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

View 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

View 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

View 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

View 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

View 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 *

View 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

View 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

View 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"

View 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

View File

@ -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