diff options
author | bde <bde@FreeBSD.org> | 1997-03-19 00:52:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-19 00:52:58 +0000 |
commit | 4cc11f6a3dfbffa16c59ce9bad344c639752c164 (patch) | |
tree | 0e283dc92bddeb19f70bf4d7e79f452871caa476 | |
parent | 3f60b44c4e1d5ee7cf4586b1ef7598eefa359b9f (diff) | |
download | FreeBSD-src-4cc11f6a3dfbffa16c59ce9bad344c639752c164.zip FreeBSD-src-4cc11f6a3dfbffa16c59ce9bad344c639752c164.tar.gz |
FIxed arg types (mostly missing consts) in synopsis.
-rw-r--r-- | lib/libc/gen/getcap.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/getnetgrent.3 | 4 | ||||
-rw-r--r-- | lib/libc/gen/tcsetattr.3 | 6 | ||||
-rw-r--r-- | lib/libc/locale/multibyte.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/printf.3 | 2 | ||||
-rw-r--r-- | lib/libmd/mdX.3 | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index 548bd55..3aef9af 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -58,7 +58,7 @@ .Ft int .Fn cgetmatch "char *buf" "char *name" .Ft char * -.Fn cgetcap "char *buf" "char *cap" "char type" +.Fn cgetcap "char *buf" "char *cap" "int type" .Ft int .Fn cgetnum "char *buf" "char *cap" "long *num" .Ft int diff --git a/lib/libc/gen/getnetgrent.3 b/lib/libc/gen/getnetgrent.3 index 07d5806..38da3c0 100644 --- a/lib/libc/gen/getnetgrent.3 +++ b/lib/libc/gen/getnetgrent.3 @@ -42,9 +42,9 @@ .Nd netgroup database operations .Sh SYNOPSIS .Ft int -.Fn getnetgrent "char **host, char **user, char **domain" +.Fn getnetgrent "char **host" "char **user" "char **domain" .Ft int -.Fn innetgr "const char *netgroup, const char *host, const char *user, const char *domain" +.Fn innetgr "const char *netgroup" "const char *host" "const char *user" "const char *domain" .Ft void .Fn setnetgrent "const char *netgroup" .Ft void diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3 index 1eb6ae8..ffd4177 100644 --- a/lib/libc/gen/tcsetattr.3 +++ b/lib/libc/gen/tcsetattr.3 @@ -47,11 +47,11 @@ .Sh SYNOPSIS .Fd #include <termios.h> .Ft speed_t -.Fn cfgetispeed "struct termios *t" +.Fn cfgetispeed "const struct termios *t" .Ft int .Fn cfsetispeed "struct termios *t" "speed_t speed" .Ft speed_t -.Fn cfgetospeed "struct termios *t" +.Fn cfgetospeed "const struct termios *t" .Ft int .Fn cfsetospeed "struct termios *t" "speed_t speed" .Ft int @@ -61,7 +61,7 @@ .Ft int .Fn tcgetattr "int fd" "struct termios *t" .Ft int -.Fn tcsetattr "int fd" "int action" "struct termios *t" +.Fn tcsetattr "int fd" "int action" "const struct termios *t" .Sh DESCRIPTION The .Fn cfmakeraw , diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3 index 7546cb2..b3df481 100644 --- a/lib/libc/locale/multibyte.3 +++ b/lib/libc/locale/multibyte.3 @@ -47,7 +47,7 @@ .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft int -.Fn mblen "const char *mbchar" "int nbytes" +.Fn mblen "const char *mbchar" "size_t nbytes" .Ft size_t .Fn mbstowcs "wchar_t *wcstring" "const char *mbstring" "size_t nwchars" .Ft int diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 2ff5238..6d5ad8a 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -68,7 +68,7 @@ .Ft int .Fn vfprintf "FILE *stream" "const char *format" "va_list ap" .Ft int -.Fn vsprintf "char *str" "char *format" "va_list ap" +.Fn vsprintf "char *str" "const char *format" "va_list ap" .Ft int .Fn vsnprintf "char *str" "size_t size" "const char *format" "va_list ap" .Ft int diff --git a/lib/libmd/mdX.3 b/lib/libmd/mdX.3 index ab26fb3..d9539f6 100644 --- a/lib/libmd/mdX.3 +++ b/lib/libmd/mdX.3 @@ -6,7 +6,7 @@ .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" ---------------------------------------------------------------------------- .\" -.\" $Id$ +.\" $Id: mdX.3,v 1.9 1997/02/22 15:07:22 peter Exp $ .\" .Dd October 9, 1996 .Dt MDX 3 @@ -25,7 +25,7 @@ .Ft void .Fn MDXInit "MDX_CTX *context" .Ft void -.Fn MDXUpdate "MDX_CTX *context" "unsigned char *data" "unsigned int len" +.Fn MDXUpdate "MDX_CTX *context" "const unsigned char *data" "unsigned int len" .Ft void .Fn MDXFinal "unsigned char digest[16]" "MDX_CTX *context" .Ft "char *" @@ -33,7 +33,7 @@ .Ft "char *" .Fn MDXFile "char *filename" "char *buf" .Ft "char *" -.Fn MDXData "unsigned char *data" "unsigned int len" "char *buf" +.Fn MDXData "const unsigned char *data" "unsigned int len" "char *buf" .Sh DESCRIPTION The MDX functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. A cryptographic checksum is a one-way |