Fixed markup.

This commit is contained in:
Ruslan Ermilov 2004-07-03 23:14:34 +00:00
parent adf942c690
commit a817e9e674
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131542
3 changed files with 14 additions and 13 deletions

View file

@ -54,14 +54,14 @@
.Fn munlockall "void"
.Sh DESCRIPTION
The
.Nm mlockall
.Fn mlockall
system call locks into memory the physical pages associated with the
address space of a process until the address space is unlocked, the
process exits, or execs another program image.
.Pp
The following flags affect the behavior of
.Nm mlockall :
.Bl -tag -width MCL_CURRENT
.Fn mlockall :
.Bl -tag -width ".Dv MCL_CURRENT"
.It Dv MCL_CURRENT
Lock all pages currently mapped into the process's address space.
.It Dv MCL_FUTURE
@ -76,19 +76,19 @@ limited in how much they can lock down.
A single process can lock the minimum of a system-wide
.Dq wired pages
limit and the per-process
.Li RLIMIT_MEMLOCK
.Dv RLIMIT_MEMLOCK
resource limit.
.Pp
The
.Nm munlockall
.Fn munlockall
call unlocks any locked memory regions in the process address space.
Any regions mapped after an
.Nm munlockall
.Fn munlockall
call will not be locked.
.Sh RETURN VALUES
A return value of 0 indicates that the call
succeeded and all pages in the range have either been locked or unlocked.
A return value of -1 indicates an error occurred and the locked
A return value of \-1 indicates an error occurred and the locked
status of all pages in the range remains unchanged.
In this case, the global location
.Va errno
@ -99,7 +99,7 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The
.Ar flags
.Fa flags
argument is zero, or includes unimplemented flags.
.It Bq Er ENOMEM
Locking the indicated range would exceed either the system or per-process

View file

@ -26,6 +26,7 @@
.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.Dd April 27, 2000
.Dt SIGWAIT 2
.Os
@ -70,7 +71,9 @@ The
system call will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The
.Fa set
argument
specifies one or more invalid signal numbers.
.El
.Sh SEE ALSO

View file

@ -59,10 +59,7 @@ bytes from memory pointed to by
.Fa addr .
This call only has an effect if the calling process is being traced.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and
.Va errno
is set to indicate the error.
.Rv -std
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er EINVAL
@ -75,7 +72,8 @@ Insufficient memory to honor the request.
.It Bq Er ENOSYS
Currently running kernel was compiled without
.Xr ktrace 2
support (option KTRACE).
support
.Pq Cd "options KTRACE" .
.El
.Sh SEE ALSO
.Xr kdump 1 ,