summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/sem_destroy.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-12-30 14:59:10 +0000
committerru <ru@FreeBSD.org>2003-12-30 14:59:10 +0000
commit67877ecd4865c451edc02dfbbaca275826b26e76 (patch)
treee88a5620e17cf4d23e2dd7c56f1aabe24ff4b2c0 /lib/libpthread/man/sem_destroy.3
parent96159ed2347341c533d77f2f5e0685b70a4be2ed (diff)
downloadFreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.zip
FreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.tar.gz
Pull some changes (mostly cosmetic) from libc_r manpages
in preparation for the merge.
Diffstat (limited to 'lib/libpthread/man/sem_destroy.3')
-rw-r--r--lib/libpthread/man/sem_destroy.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libpthread/man/sem_destroy.3 b/lib/libpthread/man/sem_destroy.3
index aa4bae7..8cd9be1 100644
--- a/lib/libpthread/man/sem_destroy.3
+++ b/lib/libpthread/man/sem_destroy.3
@@ -51,8 +51,9 @@ is unusable until re-initialized by another call to
.Sh RETURN VALUES
.Rv -std sem_destroy
.Sh ERRORS
+The
.Fn sem_destroy
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa sem
@@ -63,10 +64,12 @@ There are currently threads blocked on the semaphore that
points to.
.El
.Sh SEE ALSO
-.Xr sem_init 3
+.Xr sem_init 3 ,
+.Xr sem 4
.Sh STANDARDS
+The
.Fn sem_destroy
-conforms to
+function conforms to
.St -p1003.1-96 .
.Pp
POSIX does not define the behavior of
OpenPOWER on IntegriCloud