From e9b8d742f70abe1555426a5d2b336a707562b775 Mon Sep 17 00:00:00 2001 From: ru Date: Sat, 3 Jul 2004 23:14:34 +0000 Subject: Fixed markup. --- lib/libc/sys/mlockall.2 | 16 ++++++++-------- lib/libc/sys/sigwait.2 | 3 +++ lib/libc/sys/utrace.2 | 8 +++----- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/lib/libc/sys/mlockall.2 b/lib/libc/sys/mlockall.2 index 50cb156..db4c4a9 100644 --- a/lib/libc/sys/mlockall.2 +++ b/lib/libc/sys/mlockall.2 @@ -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 diff --git a/lib/libc/sys/sigwait.2 b/lib/libc/sys/sigwait.2 index 2c9839a..2d635cb 100644 --- a/lib/libc/sys/sigwait.2 +++ b/lib/libc/sys/sigwait.2 @@ -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 diff --git a/lib/libc/sys/utrace.2 b/lib/libc/sys/utrace.2 index 64bef2a..a83c185 100644 --- a/lib/libc/sys/utrace.2 +++ b/lib/libc/sys/utrace.2 @@ -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 , -- cgit v1.1