OSDN Git Service

Update releases for LDP 3.68
[linuxjm/LDP_man-pages.git] / release / man3 / sem_getvalue.3
index 88191d0..5799206 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_GETVALUE 3 2006\-03\-25 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_GETVALUE 3 2014\-03\-03 Linux "Linux Programmer's Manual"
 .SH 名前
 sem_getvalue \- セマフォの値を取得する
 .SH 書式
@@ -38,7 +42,7 @@ sem_getvalue \- セマフォの値を取得する
 \fBint sem_getvalue(sem_t *\fP\fIsem\fP\fB, int *\fP\fIsval\fP\fB);\fP
 .fi
 .sp
-\fI\-lrt\fP または \fI\-pthread\fP でリンクする。
+\fI\-pthread\fP とリンクする。
 .SH 説明
 \fBsem_getvalue\fP()  は、 \fIsem\fP が指すセマフォの現在の値を \fIsval\fP で指す整数に格納する。
 
@@ -51,6 +55,9 @@ POSIX.1\-2001 によると、 1つ以上のプロセスかスレッドが \fBsem
 .TP 
 \fBEINVAL\fP
 \fIsem\fP は有効なセマフォではない。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBsem_getvalue\fP() 関数はスレッドセーフである。
 .SH 準拠
 POSIX.1\-2001.
 .SH 注意
@@ -58,6 +65,6 @@ POSIX.1\-2001.
 .SH 関連項目
 \fBsem_post\fP(3), \fBsem_wait\fP(3), \fBsem_overview\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.68 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。