OSDN Git Service

Release pages for LDP v3.77
[linuxjm/LDP_man-pages.git] / release / man3 / sem_init.3
index 55a9047..bd28313 100644 (file)
@@ -1,8 +1,7 @@
 .\" t
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH SEM_INIT 3 2008\-07\-27 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
+.\" Translated 2006-04-18, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"
+.TH SEM_INIT 3 2014\-03\-10 Linux "Linux Programmer's Manual"
 .SH 名前
 sem_init \- 名前なしセマフォを初期化する
 .SH 書式
@@ -38,7 +42,7 @@ sem_init \- 名前なしセマフォを初期化する
 \fBint sem_init(sem_t *\fP\fIsem\fP\fB, int \fP\fIpshared\fP\fB, unsigned int \fP\fIvalue\fP\fB);\fP
 .fi
 .sp
-\fI\-lrt\fP または \fI\-pthread\fP でリンクする。
+\fI\-pthread\fP とリンクする。
 .SH 説明
 \fBsem_init\fP()  は、 \fIsem\fP が指すアドレスにある名前なしセマフォを初期化する。 \fIvalue\fP
 引き数はそのセマフォの初期値を指定する。
@@ -64,6 +68,9 @@ sem_init \- 名前なしセマフォを初期化する
 .TP 
 \fBENOSYS\fP
 \fIpshared\fP が 0 以外だが、システムがプロセス共有セマフォをサポートしていない (\fBsem_overview\fP(7)  参照)。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBsem_init\fP() 関数はスレッドセーフである。
 .SH 準拠
 POSIX.1\-2001.
 .SH 注意
@@ -72,6 +79,6 @@ POSIX.1\-2001.
 .SH 関連項目
 \fBsem_destroy\fP(3), \fBsem_post\fP(3), \fBsem_wait\fP(3), \fBsem_overview\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.77 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。