Module Name:    src
Committed By:   ad
Date:           Sun Feb 23 20:41:41 UTC 2020

Modified Files:
        src/lib/libc/sys: _lwp_wait.2

Log Message:
+EINVAL


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/sys/_lwp_wait.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/_lwp_wait.2
diff -u src/lib/libc/sys/_lwp_wait.2:1.4 src/lib/libc/sys/_lwp_wait.2:1.5
--- src/lib/libc/sys/_lwp_wait.2:1.4	Wed Apr 30 13:10:51 2008
+++ src/lib/libc/sys/_lwp_wait.2	Sun Feb 23 20:41:41 2020
@@ -1,6 +1,6 @@
-.\"	$NetBSD: _lwp_wait.2,v 1.4 2008/04/30 13:10:51 martin Exp $
+.\"	$NetBSD: _lwp_wait.2,v 1.5 2020/02/23 20:41:41 ad Exp $
 .\"
-.\" Copyright (c) 2003 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2003, 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to The NetBSD Foundation
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 13, 2003
+.Dd February 23, 2020
 .Dt _LWP_WAIT 2
 .Os
 .Sh NAME
@@ -67,7 +67,7 @@ Otherwise, an error code is returned to 
 will fail if:
 .Bl -tag -width [EDEADLK]
 .It Bq Er ESRCH
-No undetached LWP can be found in the current process corresponding to that
+No LWP can be found in the current process corresponding to that
 specified by
 .Fa wlwp .
 .It Bq Er EDEADLK
@@ -76,6 +76,10 @@ The calling LWP is the only LWP in the p
 The LWP ID specified by
 .Fa wlwp
 is the LWP ID of the calling LWP.
+.It Bq Er EINVAL
+The LWP specified by
+.Fa wlwp
+is detached.
 .It Bq Er EINTR
 .Fn _lwp_wait
 was interrupted by a caught signal, or the signal did not

Reply via email to