diff options
author | ru <ru@FreeBSD.org> | 2004-07-03 23:14:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-03 23:14:34 +0000 |
commit | e9b8d742f70abe1555426a5d2b336a707562b775 (patch) | |
tree | a1c8a69df6c57ad4a6b4f53b8213bbb3296bb031 /lib/libc/sys/mlockall.2 | |
parent | bc58a1e574b7db84f6f7c2cd0ee8ca209f8e2a36 (diff) | |
download | FreeBSD-src-e9b8d742f70abe1555426a5d2b336a707562b775.zip FreeBSD-src-e9b8d742f70abe1555426a5d2b336a707562b775.tar.gz |
Fixed markup.
Diffstat (limited to 'lib/libc/sys/mlockall.2')
-rw-r--r-- | lib/libc/sys/mlockall.2 | 16 |
1 files changed, 8 insertions, 8 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 |