diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-31 09:57:38 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-31 09:57:38 +0000 |
| commit | d6002fef6feb2d8cd11929b6e0bf0d868101334b (patch) | |
| tree | 65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libc/sys/mlock.2 | |
| parent | 1b08f101baa4608e737d8d6e3750d2a7f04f2283 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/mlock.2')
| -rw-r--r-- | lib/libc/sys/mlock.2 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index ba2bbb1976d5..fd92aa2830c6 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -106,13 +106,10 @@ resource limit. .Pp These calls are only available to the super-user. .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 -status of all pages in the range remains unchanged. -In this case, the global location -.Va errno -is set to indicate the error. +.Rv -std +.Pp +If the call succeeds, all pages in the range become locked (unlocked); +otherwise the locked status of all pages in the range remains unchanged. .Sh ERRORS .Fn Mlock will fail if: |
