From 3ce29386aada903b4757dc44b579c026c7a94106 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 19 Mar 1997 00:32:42 +0000 Subject: [PATCH] Fixed missing function types in synopsis. --- lib/libc/compat-43/sigvec.2 | 1 + lib/libc/gen/getloadavg.3 | 1 + lib/libc/gen/nice.3 | 1 + lib/libc/net/gethostbyname.3 | 3 +++ lib/libc/sys/sigaction.2 | 1 + lib/libcompat/4.1/stty.3 | 2 ++ usr.sbin/pcvt/keycap/keycap.3 | 3 +++ 7 files changed, 12 insertions(+) diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2 index f43a0fa37f27..de8d452cef1f 100644 --- a/lib/libc/compat-43/sigvec.2 +++ b/lib/libc/compat-43/sigvec.2 @@ -46,6 +46,7 @@ struct sigvec { int sv_flags; }; .Ed +.Ft int .Fn sigvec "int sig" "struct sigvec *vec" "struct sigvec *ovec" .Sh DESCRIPTION .Bf -symbolic diff --git a/lib/libc/gen/getloadavg.3 b/lib/libc/gen/getloadavg.3 index e451d672970b..fa5b5715a5ff 100644 --- a/lib/libc/gen/getloadavg.3 +++ b/lib/libc/gen/getloadavg.3 @@ -38,6 +38,7 @@ .Nm getloadavg .Nd get system load averages .Sh SYNOPSIS +.Ft int .Fn getloadavg "double loadavg[]" "int nelem" .Sh DESCRIPTION The diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3 index cbec15083955..81792505f99f 100644 --- a/lib/libc/gen/nice.3 +++ b/lib/libc/gen/nice.3 @@ -38,6 +38,7 @@ .Nm nice .Nd set program scheduling priority .Sh SYNOPSIS +.Ft int .Fn nice "int incr" .Sh DESCRIPTION .Bf -symbolic diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index af5e369eb496..32d9142950c5 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -55,8 +55,11 @@ .Fn gethostbyaddr "const char *addr" "int len" "int type" .Ft struct hostent * .Fn gethostent void +.Ft void .Fn sethostent "int stayopen" +.Ft void .Fn endhostent void +.Ft void .Fn herror "const char *string" .Ft const char * .Fn hstrerror "int err" diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 3fd68ca1f43a..eb15a11b8ef2 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -46,6 +46,7 @@ struct sigaction { int sa_flags; /* see signal options below */ }; .Ed +.Ft int .Fn sigaction "int sig" "const struct sigaction *act" "struct sigaction *oact" .Sh DESCRIPTION The system defines a set of signals that may be delivered to a process. diff --git a/lib/libcompat/4.1/stty.3 b/lib/libcompat/4.1/stty.3 index eb3a5c8c839f..32bb114e7f02 100644 --- a/lib/libcompat/4.1/stty.3 +++ b/lib/libcompat/4.1/stty.3 @@ -40,7 +40,9 @@ .Nd set and get terminal state (defunct) .Sh SYNOPSIS .Fd #include +.Ft int .Fn stty "int fd" "struct sgttyb *buf" +.Ft int .Fn gtty "int fd" "struct sgttyb *buf" .Sh DESCRIPTION .Bf -symbolic diff --git a/usr.sbin/pcvt/keycap/keycap.3 b/usr.sbin/pcvt/keycap/keycap.3 index 6e8fb6c79090..b62b427b681a 100644 --- a/usr.sbin/pcvt/keycap/keycap.3 +++ b/usr.sbin/pcvt/keycap/keycap.3 @@ -44,8 +44,11 @@ .Nm kgetstr .Nd routines for accessing the keycap database .Sh SYNOPSIS +.Ft int .Fn kgetent "char *bp" "char *name" +.Ft int .Fn kgetnum "char *id" +.Ft int .Fn kgetflag "char *id" .Ft char * .Fn kgetstr "char *id" "char *area"