diff options
-rw-r--r-- | lib/libc/gen/valloc.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/radixsort.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/strsep.3 | 2 | ||||
-rw-r--r-- | lib/libcompat/4.1/getpw.3 | 4 | ||||
-rw-r--r-- | lib/libftpio/ftpio.3 | 6 | ||||
-rw-r--r-- | lib/libkvm/kvm_getloadavg.3 | 1 |
6 files changed, 11 insertions, 10 deletions
diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3 index c428552..ee32438 100644 --- a/lib/libc/gen/valloc.3 +++ b/lib/libc/gen/valloc.3 @@ -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), diff --git a/lib/libc/stdlib/radixsort.3 b/lib/libc/stdlib/radixsort.3 index 4d49d46..29a1d9d 100644 --- a/lib/libc/stdlib/radixsort.3 +++ b/lib/libc/stdlib/radixsort.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 diff --git a/lib/libc/string/strsep.3 b/lib/libc/string/strsep.3 index 5099f83..fd10494 100644 --- a/lib/libc/string/strsep.3 +++ b/lib/libc/string/strsep.3 @@ -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 diff --git a/lib/libcompat/4.1/getpw.3 b/lib/libcompat/4.1/getpw.3 index 4cf160c..b64e588 100644 --- a/lib/libcompat/4.1/getpw.3 +++ b/lib/libcompat/4.1/getpw.3 @@ -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). diff --git a/lib/libftpio/ftpio.3 b/lib/libftpio/ftpio.3 index 292423e..11e7cdb 100644 --- a/lib/libftpio/ftpio.3 +++ b/lib/libftpio/ftpio.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 diff --git a/lib/libkvm/kvm_getloadavg.3 b/lib/libkvm/kvm_getloadavg.3 index f5ca469..4910fa5 100644 --- a/lib/libkvm/kvm_getloadavg.3 +++ b/lib/libkvm/kvm_getloadavg.3 @@ -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" |