FIxed arg types (mostly missing consts) in synopsis.

This commit is contained in:
Bruce Evans 1997-03-19 00:52:58 +00:00
parent 7a30f18397
commit 09589ca82e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24008
6 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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