diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-04-13 13:16:20 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-04-13 13:16:20 +0000 |
| commit | 08398af3763c9941a3a7593c3cfb49f43f8c42c1 (patch) | |
| tree | 33a27ecf29c46ac523dc58f206e9e549be926f7f | |
| parent | 3a946335aeb3e04ddc095b264e45967c1a2e6159 (diff) | |
Notes
| -rw-r--r-- | lib/libc/gen/crypt.3 | 3 | ||||
| -rw-r--r-- | lib/libc/gen/getttyent.3 | 2 | ||||
| -rw-r--r-- | lib/libc/gen/getusershell.3 | 1 | ||||
| -rw-r--r-- | lib/libc/gen/glob.3 | 2 | ||||
| -rw-r--r-- | lib/libc/gen/psignal.3 | 2 | ||||
| -rw-r--r-- | lib/libc/gen/pwcache.3 | 7 | ||||
| -rw-r--r-- | lib/libc/gen/sigsetops.3 | 7 | ||||
| -rw-r--r-- | lib/libc/gen/unvis.3 | 4 | ||||
| -rw-r--r-- | lib/libc/gen/vis.3 | 8 | ||||
| -rw-r--r-- | lib/libc/gmon/moncontrol.3 | 3 |
10 files changed, 26 insertions, 13 deletions
diff --git a/lib/libc/gen/crypt.3 b/lib/libc/gen/crypt.3 index 8c09ce458172..0f97a70f1fb4 100644 --- a/lib/libc/gen/crypt.3 +++ b/lib/libc/gen/crypt.3 @@ -42,10 +42,11 @@ .Nm des_cipher .Nd DES encryption .Sh SYNOPSIS +.Fd #include <unistd.h> .Ft char * .Fn crypt "const char *key" "const char *setting" .Ft int -.Fn setkey "char *key" +.Fn setkey "const char *key" .Ft int .Fn encrypt "char *block" "int flag" .Ft int diff --git a/lib/libc/gen/getttyent.3 b/lib/libc/gen/getttyent.3 index 3884b300eef7..06b1e9453c49 100644 --- a/lib/libc/gen/getttyent.3 +++ b/lib/libc/gen/getttyent.3 @@ -45,7 +45,7 @@ .Ft struct ttyent * .Fn getttyent .Ft struct ttyent * -.Fn getttynam "char *name" +.Fn getttynam "const char *name" .Ft int .Fn setttyent void .Ft int diff --git a/lib/libc/gen/getusershell.3 b/lib/libc/gen/getusershell.3 index 48aa8594cc1d..223caef927ae 100644 --- a/lib/libc/gen/getusershell.3 +++ b/lib/libc/gen/getusershell.3 @@ -40,6 +40,7 @@ .Nm endusershell .Nd get legal user shells .Sh SYNOPSIS +.Fd #include <unistd.h> .Ft char * .Fn getusershell void .Ft void diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 815fb154ad52..50fd91a291af 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -43,7 +43,7 @@ .Sh SYNOPSIS .Fd #include <glob.h> .Ft int -.Fn glob "const char *pattern" "int flags" "const int (*errfunc)(const char *, int)" "glob_t *pglob" +.Fn glob "const char *pattern" "int flags" "int (*errfunc)(const char *, int)" "glob_t *pglob" .Ft void .Fn globfree "glob_t *pglob" .Sh DESCRIPTION diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index a0d473736bb8..773759c1d89c 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -40,7 +40,7 @@ .Nm sys_signame .Nd system signal messages .Sh SYNOPSIS -.Fd #include <sys/signal.h> +.Fd #include <signal.h> .Ft void .Fn psignal "unsigned sig" "const char *s" .Vt extern const char * const sys_siglist[]; diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index 98fb1c460909..e44b5ef9c308 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -38,8 +38,11 @@ .Nm pwcache .Nd cache password and group entries .Sh SYNOPSIS -.Fn user_from_uid "uid_t uid" "int nouser" -.Fn group_from_gid "gid_t gid" "int nogroup" +.Fd #include <stdlib.h> +.Ft char * +.Fn user_from_uid "unsigned long uid" "int nouser" +.Ft char * +.Fn group_from_gid "unsigned long gid" "int nogroup" .Sh DESCRIPTION .Pp The diff --git a/lib/libc/gen/sigsetops.3 b/lib/libc/gen/sigsetops.3 index b62253e5550a..97b3316f799d 100644 --- a/lib/libc/gen/sigsetops.3 +++ b/lib/libc/gen/sigsetops.3 @@ -43,11 +43,16 @@ .Nd manipulate signal sets .Sh SYNOPSIS .Fd #include <signal.h> +.Ft int .Fn sigemptyset "sigset_t *set" +.Ft int .Fn sigfillset "sigset_t *set" +.Ft int .Fn sigaddset "sigset_t *set" "int signo" +.Ft int .Fn sigdelset "sigset_t *set" "int signo" -.Fn sigismember "sigset_t *set" "int signo" +.Ft int +.Fn sigismember "const sigset_t *set" "int signo" .Sh DESCRIPTION These functions manipulate signal sets stored in a .Fa sigset_t . diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3 index fcce5611fe8f..833e13ca16a0 100644 --- a/lib/libc/gen/unvis.3 +++ b/lib/libc/gen/unvis.3 @@ -41,9 +41,9 @@ .Sh SYNOPSIS .Fd #include <vis.h> .Ft int -.Fn unvis "u_char *cp" "u_char c" "int *astate" "int flag" +.Fn unvis "char *cp" "int c" "int *astate" "int flag" .Ft int -.Fn strunvis "char *dst" "char *src" +.Fn strunvis "char *dst" "const char *src" .Sh DESCRIPTION The .Fn unvis diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3 index edb664e229e7..f749573e5c89 100644 --- a/lib/libc/gen/vis.3 +++ b/lib/libc/gen/vis.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)vis.3 8.1 (Berkeley) 6/9/93 -.\" $Id$ +.\" $Id: vis.3,v 1.6 1997/02/22 14:58:21 peter Exp $ .\" .Dd July 25, 1996 .Dt VIS 3 @@ -41,11 +41,11 @@ .Sh SYNOPSIS .Fd #include <vis.h> .Ft char * -.Fn vis "char *dst" "char c" "int flag" "char nextc" +.Fn vis "char *dst" "int c" "int flag" "int nextc" .Ft int -.Fn strvis "char *dst" "char *src" "int flag" +.Fn strvis "char *dst" "const char *src" "int flag" .Ft int -.Fn strvisx "char *dst" "char *src" "int len" "int flag" +.Fn strvisx "char *dst" "const char *src" "size_t len" "int flag" .Sh DESCRIPTION The .Fn vis diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3 index 1413bf555038..92993cd3bbfe 100644 --- a/lib/libc/gmon/moncontrol.3 +++ b/lib/libc/gmon/moncontrol.3 @@ -39,7 +39,10 @@ .Nm monstartup .Nd control execution profile .Sh SYNOPSIS +.Fd #include <sys/types.h> +.Ft int .Fn moncontrol "int mode" +.Ft int .Fn monstartup "u_long *lowpc" "u_long *highpc" .Sh DESCRIPTION An executable program compiled using the |
