diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-04-19 15:57:20 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-04-19 15:57:20 +0000 |
| commit | a3315650db25238dce4f04adff4ed57f7738d5fd (patch) | |
| tree | 1092cc426019a53e818a5758d11bb7e25ffcc270 | |
| parent | 7c0c241dea37a9924227b0c6cc2db3b3a338ddaf (diff) | |
Notes
| -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 c428552a964b..ee3243898b58 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 4d49d4625bc3..29a1d9d191c6 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 5099f8350c60..fd104945c594 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 4cf160ce173a..b64e5887ac3f 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 292423e683a5..11e7cdbf8292 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 f5ca4699cf46..4910fa500c16 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" |
