OSDN Git Service

(split) LDP: Update original to LDP v3.63
[linuxjm/LDP_man-pages.git] / original / man3 / sem_init.3
index 35b64cb..ec0acbf 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH SEM_INIT 3 2012-05-13 "Linux" "Linux Programmer's Manual"
+.TH SEM_INIT 3 2014-03-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sem_init \- initialize an unnamed semaphore
 .SH SYNOPSIS
@@ -70,7 +70,7 @@ Any process that can access the shared memory region
 can operate on the semaphore using
 .BR sem_post (3),
 .BR sem_wait (3),
-etc.
+and so on.
 
 Initializing a semaphore that has already been initialized
 results in undefined behavior.
@@ -92,6 +92,11 @@ exceeds
 is nonzero,
 but the system does not support process-shared semaphores (see
 .BR sem_overview (7)).
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR sem_init ()
+function is thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES