Add explicit return types and needed header files to SYNOPSIS section.

This commit is contained in:
jtc 1993-12-15 18:08:12 +00:00
parent 8ee12398cc
commit 348a090081
6 changed files with 22 additions and 6 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)madvise.2 6.1 (Berkeley) 5/27/91
.\" $Id: madvise.2,v 1.3 1993/08/05 21:31:41 jtc Exp $
.\" $Id: madvise.2,v 1.4 1993/12/15 18:08:12 jtc Exp $
.\"
.Dd May 27, 1991
.Dt MADVISE 2
@ -39,6 +39,9 @@
.Nm madvise
.Nd give advise about use of memory
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
.Fn madvise "caddr_t addr" "int len" "int behav"
.Sh DESCRIPTION
The

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mincore.2 6.1 (Berkeley) 5/27/91
.\" $Id: mincore.2,v 1.3 1993/08/05 21:31:42 jtc Exp $
.\" $Id: mincore.2,v 1.4 1993/12/15 18:08:14 jtc Exp $
.\"
.Dd May 27, 1991
.Dt MINCORE 2
@ -39,6 +39,9 @@
.Nm mincore
.Nd determine residency of memory pages
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
.Fn mincore "caddr_t addr" "int len" "char *vec"
.Sh DESCRIPTION
The

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mprotect.2 6.1 (Berkeley) 5/27/91
.\" $Id: mprotect.2,v 1.3 1993/08/05 21:31:43 jtc Exp $
.\" $Id: mprotect.2,v 1.4 1993/12/15 18:08:16 jtc Exp $
.\"
.Dd May 27, 1991
.Dt MPROTECT 2
@ -39,6 +39,9 @@
.Nm mprotect
.Nd control the protection of pages
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
.Fn mprotect "caddr_t addr" "int len" "int prot"
.Sh DESCRIPTION
The

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)msync.2 6.1 (Berkeley) 5/27/91
.\" $Id: msync.2,v 1.3 1993/08/05 21:31:44 jtc Exp $
.\" $Id: msync.2,v 1.4 1993/12/15 18:08:17 jtc Exp $
.\"
.Dd May 27, 1991
.Dt MSYNC 2
@ -39,6 +39,9 @@
.Nm msync
.Nd synchronize a mapped region
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
.Fn msync "caddr_t addr" "int len"
.Sh DESCRIPTION
The

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)munmap.2 6.1 (Berkeley) 5/27/91
.\" $Id: munmap.2,v 1.3 1993/08/05 21:31:46 jtc Exp $
.\" $Id: munmap.2,v 1.4 1993/12/15 18:08:18 jtc Exp $
.\"
.Dd May 27, 1991
.Dt MUNMAP 2
@ -39,6 +39,9 @@
.Nm munmap
.Nd remove a mapping
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
.Ft int
.Fn munmap "caddr_t addr" "int len"
.Sh DESCRIPTION
The

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigaction.2 6.3 (Berkeley) 7/23/91
.\" $Id: sigaction.2,v 1.3 1993/10/15 00:05:58 jtc Exp $
.\" $Id: sigaction.2,v 1.4 1993/12/15 18:08:20 jtc Exp $
.\"
.Dd July 23, 1991
.Dt SIGACTION 2
@ -47,6 +47,7 @@ struct sigaction {
int sa_flags;
};
.Ed
.Ft int
.Fn sigaction "int sig" "struct sigaction *act" "struct sigaction *oact"
.Sh DESCRIPTION
The system defines a set of signals that may be delivered to a process.