Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys document RETURN VALUES



details:   https://anonhg.NetBSD.org/src/rev/f81b927dd41d
branches:  trunk
changeset: 555502:f81b927dd41d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 19 15:20:32 2003 +0000

description:
document RETURN VALUES

diffstat:

 lib/libc/sys/minherit.2 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 35e48a189e68 -r f81b927dd41d lib/libc/sys/minherit.2
--- a/lib/libc/sys/minherit.2   Wed Nov 19 14:27:24 2003 +0000
+++ b/lib/libc/sys/minherit.2   Wed Nov 19 15:20:32 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: minherit.2,v 1.14 2003/08/07 16:44:01 agc Exp $
+.\"    $NetBSD: minherit.2,v 1.15 2003/11/19 15:20:32 pooka Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -71,6 +71,11 @@
 are shared between the address spaces, while pages or regions marked
 .Dv MAP_INHERIT_NONE
 will be unmapped in the child.
+.Sh RETURN VALUES
+Upon succesful completion, a value of 0 is returned.
+Otherwise, a value of -1 is returned and
+.Va errno
+is set to indicate the error.
 .Sh SEE ALSO
 .Xr fork 2 ,
 .Xr madvise 2 ,



Home | Main Index | Thread Index | Old Index