Module Name: src
Committed By: pooka
Date: Mon Oct 27 12:32:08 UTC 2014
Modified Files:
src/lib/librump: rump_lwproc.3
src/lib/librumpvfs: rump_etfs.3
Log Message:
add RETURN VALUES
from Martin Lucina, via rumpkernel-users
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librump/rump_lwproc.3
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpvfs/rump_etfs.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librump/rump_lwproc.3
diff -u src/lib/librump/rump_lwproc.3:1.5 src/lib/librump/rump_lwproc.3:1.6
--- src/lib/librump/rump_lwproc.3:1.5 Fri May 31 16:25:24 2013
+++ src/lib/librump/rump_lwproc.3 Mon Oct 27 12:32:08 2014
@@ -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 @@ Returns curlwp or
.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
Index: src/lib/librumpvfs/rump_etfs.3
diff -u src/lib/librumpvfs/rump_etfs.3:1.7 src/lib/librumpvfs/rump_etfs.3:1.8
--- src/lib/librumpvfs/rump_etfs.3:1.7 Fri Jun 13 15:45:01 2014
+++ src/lib/librumpvfs/rump_etfs.3 Mon Oct 27 12:32:08 2014
@@ -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 @@ Remove etfs mapping for
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