Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys +EINVAL



details:   https://anonhg.NetBSD.org/src/rev/161c96afe2c5
branches:  trunk
changeset: 745168:161c96afe2c5
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Feb 23 20:41:41 2020 +0000

description:
+EINVAL

diffstat:

 lib/libc/sys/_lwp_wait.2 |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r f2edce79d535 -r 161c96afe2c5 lib/libc/sys/_lwp_wait.2
--- a/lib/libc/sys/_lwp_wait.2  Sun Feb 23 20:16:10 2020 +0000
+++ b/lib/libc/sys/_lwp_wait.2  Sun Feb 23 20:41:41 2020 +0000
@@ -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 @@
 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 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



Home | Main Index | Thread Index | Old Index