X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=draft%2Fman3%2Fsem_init.3;h=f7164ccd395a289be6d60d39d8f85862adac445e;hb=c1dfa2f6ab1bbed84992d3c59ee9925f4d453668;hp=17ed348bc66a75039fa45824771aee647e348b9f;hpb=1d98b26905be2ad5ba08a94d65f57d872bae4f85;p=linuxjm%2FLDP_man-pages.git diff --git a/draft/man3/sem_init.3 b/draft/man3/sem_init.3 index 17ed348b..f7164ccd 100644 --- a/draft/man3/sem_init.3 +++ b/draft/man3/sem_init.3 @@ -1,8 +1,7 @@ .\" t -.\" Hey Emacs! This file is -*- nroff -*- source. -.\" .\" Copyright (C) 2006 Michael Kerrisk .\" +.\" %%%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. @@ -22,13 +21,14 @@ .\" .\" 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" +.TH SEM_INIT 3 2012\-05\-13 Linux "Linux Programmer's Manual" .SH 名前 sem_init \- 名前なしセマフォを初期化する .SH 書式 @@ -38,7 +38,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 引き数はそのセマフォの初期値を指定する。 @@ -71,3 +71,7 @@ POSIX.1\-2001. ではこれが修正され、成功時には 0 を返すことが規定された。 .SH 関連項目 \fBsem_destroy\fP(3), \fBsem_post\fP(3), \fBsem_wait\fP(3), \fBsem_overview\fP(7) +.SH この文書について +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部 +である。プロジェクトの説明とバグ報告に関する情報は +http://www.kernel.org/doc/man\-pages/ に書かれている。