OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / sem_destroy.3
index 2640575..ebf5fe9 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH SEM_DESTROY 3 2012-05-13 "Linux" "Linux Programmer's Manual"
+.TH SEM_DESTROY 3 2014-03-03 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sem_destroy \- destroy an unnamed semaphore
 .SH SYNOPSIS
@@ -63,6 +63,11 @@ is set to indicate the error.
 .B EINVAL
 .I sem
 is not a valid semaphore.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR sem_destroy ()
+function is thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
@@ -76,3 +81,12 @@ Failure to do this can result in resource leaks on some implementations.
 .BR sem_post (3),
 .BR sem_wait (3),
 .BR sem_overview (7)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.