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
7 changed files with 12 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ struct sigvec {
int sv_flags; int sv_flags;
}; };
.Ed .Ed
.Ft int
.Fn sigvec "int sig" "struct sigvec *vec" "struct sigvec *ovec" .Fn sigvec "int sig" "struct sigvec *vec" "struct sigvec *ovec"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic
+1
View File
@@ -38,6 +38,7 @@
.Nm getloadavg .Nm getloadavg
.Nd get system load averages .Nd get system load averages
.Sh SYNOPSIS .Sh SYNOPSIS
.Ft int
.Fn getloadavg "double loadavg[]" "int nelem" .Fn getloadavg "double loadavg[]" "int nelem"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
+1
View File
@@ -38,6 +38,7 @@
.Nm nice .Nm nice
.Nd set program scheduling priority .Nd set program scheduling priority
.Sh SYNOPSIS .Sh SYNOPSIS
.Ft int
.Fn nice "int incr" .Fn nice "int incr"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic
+3
View File
@@ -55,8 +55,11 @@
.Fn gethostbyaddr "const char *addr" "int len" "int type" .Fn gethostbyaddr "const char *addr" "int len" "int type"
.Ft struct hostent * .Ft struct hostent *
.Fn gethostent void .Fn gethostent void
.Ft void
.Fn sethostent "int stayopen" .Fn sethostent "int stayopen"
.Ft void
.Fn endhostent void .Fn endhostent void
.Ft void
.Fn herror "const char *string" .Fn herror "const char *string"
.Ft const char * .Ft const char *
.Fn hstrerror "int err" .Fn hstrerror "int err"
+1
View File
@@ -46,6 +46,7 @@ struct sigaction {
int sa_flags; /* see signal options below */ int sa_flags; /* see signal options below */
}; };
.Ed .Ed
.Ft int
.Fn sigaction "int sig" "const struct sigaction *act" "struct sigaction *oact" .Fn sigaction "int sig" "const struct sigaction *act" "struct sigaction *oact"
.Sh DESCRIPTION .Sh DESCRIPTION
The system defines a set of signals that may be delivered to a process. The system defines a set of signals that may be delivered to a process.
+2
View File
@@ -40,7 +40,9 @@
.Nd set and get terminal state (defunct) .Nd set and get terminal state (defunct)
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sgtty.h> .Fd #include <sgtty.h>
.Ft int
.Fn stty "int fd" "struct sgttyb *buf" .Fn stty "int fd" "struct sgttyb *buf"
.Ft int
.Fn gtty "int fd" "struct sgttyb *buf" .Fn gtty "int fd" "struct sgttyb *buf"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic
+3
View File
@@ -44,8 +44,11 @@
.Nm kgetstr .Nm kgetstr
.Nd routines for accessing the keycap database .Nd routines for accessing the keycap database
.Sh SYNOPSIS .Sh SYNOPSIS
.Ft int
.Fn kgetent "char *bp" "char *name" .Fn kgetent "char *bp" "char *name"
.Ft int
.Fn kgetnum "char *id" .Fn kgetnum "char *id"
.Ft int
.Fn kgetflag "char *id" .Fn kgetflag "char *id"
.Ft char * .Ft char *
.Fn kgetstr "char *id" "char *area" .Fn kgetstr "char *id" "char *area"