Fixed missing function types in synopsis.

This commit is contained in:
Bruce Evans 1997-03-19 00:32:42 +00:00
parent 79f87a2528
commit 3ce29386aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24006
7 changed files with 12 additions and 0 deletions

View file

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

View file

@ -38,6 +38,7 @@
.Nm getloadavg
.Nd get system load averages
.Sh SYNOPSIS
.Ft int
.Fn getloadavg "double loadavg[]" "int nelem"
.Sh DESCRIPTION
The

View file

@ -38,6 +38,7 @@
.Nm nice
.Nd set program scheduling priority
.Sh SYNOPSIS
.Ft int
.Fn nice "int incr"
.Sh DESCRIPTION
.Bf -symbolic

View file

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

View file

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

View file

@ -40,7 +40,9 @@
.Nd set and get terminal state (defunct)
.Sh SYNOPSIS
.Fd #include <sgtty.h>
.Ft int
.Fn stty "int fd" "struct sgttyb *buf"
.Ft int
.Fn gtty "int fd" "struct sgttyb *buf"
.Sh DESCRIPTION
.Bf -symbolic

View file

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