Add explicit return types and needed header files to SYNOPSIS section.
This commit is contained in:
parent
8ee12398cc
commit
348a090081
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)madvise.2 6.1 (Berkeley) 5/27/91
|
.\" 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
|
.Dd May 27, 1991
|
||||||
.Dt MADVISE 2
|
.Dt MADVISE 2
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
.Nm madvise
|
.Nm madvise
|
||||||
.Nd give advise about use of memory
|
.Nd give advise about use of memory
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/mman.h>
|
||||||
|
.Ft int
|
||||||
.Fn madvise "caddr_t addr" "int len" "int behav"
|
.Fn madvise "caddr_t addr" "int len" "int behav"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)mincore.2 6.1 (Berkeley) 5/27/91
|
.\" 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
|
.Dd May 27, 1991
|
||||||
.Dt MINCORE 2
|
.Dt MINCORE 2
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
.Nm mincore
|
.Nm mincore
|
||||||
.Nd determine residency of memory pages
|
.Nd determine residency of memory pages
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/mman.h>
|
||||||
|
.Ft int
|
||||||
.Fn mincore "caddr_t addr" "int len" "char *vec"
|
.Fn mincore "caddr_t addr" "int len" "char *vec"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)mprotect.2 6.1 (Berkeley) 5/27/91
|
.\" 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
|
.Dd May 27, 1991
|
||||||
.Dt MPROTECT 2
|
.Dt MPROTECT 2
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
.Nm mprotect
|
.Nm mprotect
|
||||||
.Nd control the protection of pages
|
.Nd control the protection of pages
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/mman.h>
|
||||||
|
.Ft int
|
||||||
.Fn mprotect "caddr_t addr" "int len" "int prot"
|
.Fn mprotect "caddr_t addr" "int len" "int prot"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)msync.2 6.1 (Berkeley) 5/27/91
|
.\" 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
|
.Dd May 27, 1991
|
||||||
.Dt MSYNC 2
|
.Dt MSYNC 2
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
.Nm msync
|
.Nm msync
|
||||||
.Nd synchronize a mapped region
|
.Nd synchronize a mapped region
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/mman.h>
|
||||||
|
.Ft int
|
||||||
.Fn msync "caddr_t addr" "int len"
|
.Fn msync "caddr_t addr" "int len"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)munmap.2 6.1 (Berkeley) 5/27/91
|
.\" 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
|
.Dd May 27, 1991
|
||||||
.Dt MUNMAP 2
|
.Dt MUNMAP 2
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
.Nm munmap
|
.Nm munmap
|
||||||
.Nd remove a mapping
|
.Nd remove a mapping
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/mman.h>
|
||||||
|
.Ft int
|
||||||
.Fn munmap "caddr_t addr" "int len"
|
.Fn munmap "caddr_t addr" "int len"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)sigaction.2 6.3 (Berkeley) 7/23/91
|
.\" 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
|
.Dd July 23, 1991
|
||||||
.Dt SIGACTION 2
|
.Dt SIGACTION 2
|
||||||
|
@ -47,6 +47,7 @@ struct sigaction {
|
||||||
int sa_flags;
|
int sa_flags;
|
||||||
};
|
};
|
||||||
.Ed
|
.Ed
|
||||||
|
.Ft int
|
||||||
.Fn sigaction "int sig" "struct sigaction *act" "struct sigaction *oact"
|
.Fn sigaction "int sig" "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.
|
||||||
|
|
Loading…
Reference in New Issue