Fixed #include and/or prototype bugs in synopsis.
This commit is contained in:
parent
7c0c241dea
commit
a3315650db
lib
libc
libcompat/4.1
libftpio
libkvm
@ -39,8 +39,8 @@
|
||||
.Nd aligned memory allocation function
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.Ft char *
|
||||
.Fn valloc "unsigned size"
|
||||
.Ft void *
|
||||
.Fn valloc "size_t size"
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
Valloc is obsoleted by the current version of malloc(3),
|
||||
|
@ -41,9 +41,9 @@
|
||||
.Fd #include <limits.h>
|
||||
.Fd #include <stdlib.h>
|
||||
.Ft int
|
||||
.Fn radixsort "u_char **base" "int nmemb" "u_char *table" "u_int endbyte"
|
||||
.Fn radixsort "const unsigned char **base" "int nmemb" "const unsigned char *table" "unsigned endbyte"
|
||||
.Ft int
|
||||
.Fn sradixsort "u_char **base" "int nmemb" "u_char *table" "u_int endbyte"
|
||||
.Fn sradixsort "const unsigned char **base" "int nmemb" "const unsigned char *table" "unsigned endbyte"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn radixsort
|
||||
|
@ -43,7 +43,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <string.h>
|
||||
.Ft char *
|
||||
.Fn strsep "char **stringp" "char *delim"
|
||||
.Fn strsep "char **stringp" "const char *delim"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn strsep
|
||||
|
@ -38,7 +38,9 @@
|
||||
.Nm getpw
|
||||
.Nd get name from uid
|
||||
.Sh SYNOPSIS
|
||||
.Fn getpw uid "char *buf"
|
||||
.Fd #include <sys/types.h>
|
||||
.Ft int
|
||||
.Fn getpw "uid_t uid" "char *buf"
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The getpw function is made obsolete by getpwuid(3).
|
||||
|
@ -22,7 +22,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: ftpio.3,v 1.14 1997/02/22 15:06:48 peter Exp $
|
||||
.\"
|
||||
.Dd June 17, 1996
|
||||
.Dt ftpio 3
|
||||
@ -53,10 +53,10 @@
|
||||
.Fn ftpErrString "int errno"
|
||||
.Ft time_t
|
||||
.Fn ftpGetModtime "FILE *stream, char *file"
|
||||
.Ft size_t
|
||||
.Ft off_t
|
||||
.Fn ftpGetSize "FILE *stream, char *file"
|
||||
.Ft FILE *
|
||||
.Fn ftpGet "FILE *stream, char *file, int *seekto"
|
||||
.Fn ftpGet "FILE *stream, char *file, off_t *seekto"
|
||||
.Ft FILE *
|
||||
.Fn ftpPut "FILE *stream, char *file"
|
||||
.Ft int
|
||||
|
@ -38,7 +38,6 @@
|
||||
.Nm kvm_getloadavg
|
||||
.Nd get load average of the system
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/resource.h>
|
||||
.Fd #include <kvm.h>
|
||||
.Ft int
|
||||
.Fn kvm_getloadavg "kvm_t *kd" "double loadavg[]" "int nelem"
|
||||
|
Loading…
x
Reference in New Issue
Block a user