diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-18 23:50:33 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-18 23:50:33 +0000 |
commit | 3db3201850eaeeb710d50c9fd6b00083a4c5f788 (patch) | |
tree | 8d96adba2c01878c4a9e87257c9e309b2dda7532 | |
parent | e496a5dbb25a5952d337843d7b5acb6b60a7efed (diff) |
Document that mquery() returns EINVAL if request memory was not available
when MAP_FIXED is specified. ok tedu@
-rw-r--r-- | lib/libc/sys/mquery.2 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2 index a3d276cc967..651ef4de035 100644 --- a/lib/libc/sys/mquery.2 +++ b/lib/libc/sys/mquery.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mquery.2,v 1.2 2003/04/17 18:38:01 millert Exp $ +.\" $OpenBSD: mquery.2,v 1.3 2003/04/18 23:50:32 drahn Exp $ .\" .\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -97,8 +97,7 @@ When no such area can be found .Fn mquery will return \-1 and set .Va errno -to -.Dv ENOMEM . +to indicate the error. .Sh RETURN VALUES When a memory range satisfying the request is found .Fn mquery @@ -109,8 +108,8 @@ is set to indicate the error. .Sh ERRORS .Fn mquery will fail if: -.Bl -tag -width ENOMEM -.It Bq Er ENOMEM +.Bl -tag -width EINVAL +.It Bq Er EINVAL .Dv MAP_FIXED was specified and the requested memory area is unavailable. .It Bq Er ENOMEM |