Source-Changes-HG archive

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

[src/trunk]: src/lib add RETURN VALUES



details:   https://anonhg.NetBSD.org/src/rev/d91157bfb49a
branches:  trunk
changeset: 803430:d91157bfb49a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Oct 27 12:32:08 2014 +0000

description:
add RETURN VALUES

from Martin Lucina, via rumpkernel-users

diffstat:

 lib/librump/rump_lwproc.3  |  13 +++++++++++--
 lib/librumpvfs/rump_etfs.3 |   7 +++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r 3be02550c108 -r d91157bfb49a lib/librump/rump_lwproc.3
--- a/lib/librump/rump_lwproc.3 Mon Oct 27 12:02:17 2014 +0000
+++ b/lib/librump/rump_lwproc.3 Mon Oct 27 12:32:08 2014 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: rump_lwproc.3,v 1.5 2013/05/31 16:25:24 pooka Exp $
+.\"     $NetBSD: rump_lwproc.3,v 1.6 2014/10/27 12:32:08 pooka Exp $
 .\"
 .\" Copyright (c) 2010 Antti Kantee.  All rights reserved.
 .\"
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 2, 2011
+.Dd October 27, 2014
 .Dt RUMP_LWPROC 3
 .Os
 .Sh NAME
@@ -127,6 +127,15 @@
 .Dv NULL
 if the current context is an implicit context.
 .El
+.Sh RETURN VALUES
+.Fn rump_pub_lwproc_rfork
+and
+.Fn rump_pub_lwproc_newlwp
+return 0 on success or an errno indicating the reason for failure.
+.Fn rump_pub_lwproc_curlwp
+returns curlwp or
+.Dv NULL
+if the current context is an implicit context.
 .Sh SEE ALSO
 .Xr getpid 2 ,
 .Xr rump 3
diff -r 3be02550c108 -r d91157bfb49a lib/librumpvfs/rump_etfs.3
--- a/lib/librumpvfs/rump_etfs.3        Mon Oct 27 12:02:17 2014 +0000
+++ b/lib/librumpvfs/rump_etfs.3        Mon Oct 27 12:32:08 2014 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: rump_etfs.3,v 1.7 2014/06/13 15:45:01 pooka Exp $
+.\"     $NetBSD: rump_etfs.3,v 1.8 2014/10/27 12:32:08 pooka Exp $
 .\"
 .\" Copyright (c) 2010 Antti Kantee.  All rights reserved.
 .\"
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 13, 2014
+.Dd October 27, 2014
 .Dt RUMP_ETFS 3
 .Os
 .Sh NAME
@@ -186,6 +186,9 @@
 This routine may be called only if the file related to the mapping
 is not in use.
 .El
+.Sh RETURN VALUES
+.Nm
+routines return 0 on success or an errno indicating the reason for failure.
 .Sh EXAMPLES
 Map a host image file to a mountable
 .Pa /dev/harddisk



Home | Main Index | Thread Index | Old Index