diff options
| author | ad <ad@NetBSD.org> | 2020-02-23 20:41:41 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2020-02-23 20:41:41 +0000 |
| commit | 846685eae85a0939cb033f7cf692fdce8f4167fb (patch) | |
| tree | 01a31f10c9927b8d737ed10b38b09fd0c6619c99 /lib/libc/sys | |
| parent | adb8967b03e445f590e80fab8545db5542c37ffb (diff) | |
+EINVAL
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/_lwp_wait.2 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/_lwp_wait.2 b/lib/libc/sys/_lwp_wait.2 index 44d96bad04d..5f2fd21b293 100644 --- a/lib/libc/sys/_lwp_wait.2 +++ b/lib/libc/sys/_lwp_wait.2 @@ -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 |
