+EINVAL
This commit is contained in:
parent
43690d4aea
commit
f340434d23
|
@ -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 indicate the error.
|
|||
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 process.
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue