diff options
author | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
---|---|---|
committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
commit | 9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39 (patch) | |
tree | 90aaba8b57f96154b6594ad2a7c5a9b92e206d48 /lib/libc/sys/minherit.2 | |
parent | aeea55e4594eff58688cdf3deb17dadce0315cfa (diff) | |
download | src-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.tar.gz src-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.zip |
Add missing RETURN VALUES/ERRORS sections.
Notes
Notes:
svn path=/head/; revision=21579
Diffstat (limited to 'lib/libc/sys/minherit.2')
-rw-r--r-- | lib/libc/sys/minherit.2 | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2 index cc26fa69c23c..997bafd8a82a 100644 --- a/lib/libc/sys/minherit.2 +++ b/lib/libc/sys/minherit.2 @@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id: minherit.2,v 1.1 1996/02/23 19:56:54 peter Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -53,6 +53,33 @@ changes the specified pages to have the inheritance characteristic Not all implementations will guarantee that the inheritance characteristic can be set on a page basis; the granularity of changes may be as large as an entire region. +.Sh RETURN VALUES +Upon successful completion, +.Fn minherit +returns 0. Otherwise, a value of -1 is returned and +.Va errno +is set to indicate the error. +.Sh ERRORS +The +.Fn minherit +function will fail if: +.Bl -tag -width Er +.It Bq Er EINVAL +The virtual address range specified by the +.Fa addr +and +.Fa len +arguments is not valid. +.It Bq Er EACESS +The flags specified by the +.Fa inherit +argument were not valid for the pages specified +by the +.Fa addr +and +.Fa len +arguments. +.El .Sh SEE ALSO .Xr fork 2 , .Xr madvise 2 , |