summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-07-09 17:54:08 +0000
committerjruoho <jruoho@NetBSD.org>2010-07-09 17:54:08 +0000
commitbc665d26834f4b8e04fc796b7b174e4cedca7895 (patch)
treeefe4fdf4deae3f80fc93c9ab50c9b7329469851a /lib/libpthread
parente328c0292cfc8c648646617e16d34facbf452f3d (diff)
Re-add EINVAL for pthread_condattr_destroy(3) (misread the pthread__error()).
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_condattr.315
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_condattr.3 b/lib/libpthread/pthread_condattr.3
index facef7398bf..901b450ebff 100644
--- a/lib/libpthread/pthread_condattr.3
+++ b/lib/libpthread/pthread_condattr.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_condattr.3,v 1.6 2010/07/09 16:54:30 jruoho Exp $
+.\" $NetBSD: pthread_condattr.3,v 1.7 2010/07/09 17:54:08 jruoho Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -78,7 +78,18 @@ function destroys a condition attribute object.
If successful, these functions return 0.
Otherwise, an error number is returned to indicate the error.
.Sh ERRORS
-No errors are defined for either function.
+No errors are defined for
+.Fn pthread_condattr_init .
+.Pp
+The
+.Fn pthread_condattr_destroy
+function may fail if:
+.Bl -tag -width Er
+.It Bq Er EINVAL
+The value specified by
+.Fa attr
+is invalid.
+.El
.Sh SEE ALSO
.Xr pthread_cond_init 3
.Sh STANDARDS