diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-03 23:14:34 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-03 23:14:34 +0000 |
| commit | a817e9e6747c1f172f9fb6eb7c18730ae825418a (patch) | |
| tree | a1c8a69df6c57ad4a6b4f53b8213bbb3296bb031 /lib/libc | |
| parent | adf942c690d8702912ea98afd04425be249bf2c1 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/mlockall.2 | 16 | ||||
| -rw-r--r-- | lib/libc/sys/sigwait.2 | 3 | ||||
| -rw-r--r-- | 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 50cb1563e37c..db4c4a933e4c 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 2c9839a90785..2d635cbb2cd2 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 64bef2a1e6b6..a83c18551ad0 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 , |
