OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / sem_unlink.3
index c37cefa..9b04b65 100644 (file)
@@ -1,4 +1,4 @@
-'\" t
+.\" t
 .\" Hey Emacs! This file is -*- nroff -*- source.
 .\"
 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
-.\" Translated 2006-04-18, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.TH SEM_UNLINK 3 2006-03-25 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O sem_unlink \- remove a named semaphore
-sem_unlink \- Ì¾Á°ÉÕ¤­¥»¥Þ¥Õ¥©¤òºï½ü¤¹¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH SEM_UNLINK 3 2006\-03\-25 Linux "Linux Programmer's Manual"
+.SH 名前
+sem_unlink \- 名前付きセマフォを削除する
+.SH 書式
 .nf
-.B #include <semaphore.h>
+\fB#include <semaphore.h>\fP
 .sp
-.BI "int sem_unlink(const char *" name );
+\fBint sem_unlink(const char *\fP\fIname\fP\fB);\fP
 .fi
 .sp
-.\"O Link with \fI\-lrt\fP or \fI\-pthread\fP.
-\fI\-lrt\fP ¤Þ¤¿¤Ï \fI\-pthread\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O .BR sem_unlink ()
-.\"O removes the named semaphore referred to by
-.\"O .IR name .
-.\"O The semaphore name is removed immediately.
-.\"O The semaphore is destroyed once all other processes that have
-.\"O the semaphore open close it.
-.BR sem_unlink ()
-¤Ï¡¢
-.I name
-¤Ç»²¾È¤µ¤ì¤ë̾Á°ÉÕ¤­¥»¥Þ¥Õ¥©¤òºï½ü¤¹¤ë¡£
-¥»¥Þ¥Õ¥©¤Î̾Á°¤Ïľ¤Á¤Ëºï½ü¤µ¤ì¤ë¡£
-¤³¤Î¥»¥Þ¥Õ¥©¤ò¥ª¡¼¥×¥ó¤·¤Æ¤¤¤ë¾¤Î¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤¬¥»¥Þ¥Õ¥©¤ò
-ÊĤ¸¤Æ½é¤á¤Æ¥»¥Þ¥Õ¥©¤Îºï½ü¤¬¹Ô¤ï¤ì¤ë¡£
-.\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
-.\"O On success
-.\"O .BR sem_unlink ()
-.\"O returns 0; on error, \-1 is returned, with
-.\"O .I errno
-.\"O set to indicate the error.
-À®¸ù¤¹¤ë¤È¡¢
-.BR sem_unlink ()
-¤Ï 0 ¤òÊÖ¤¹¡£¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
-.I errno
-¤Ë¥¨¥é¡¼¤ò¼¨¤¹Ãͤò¥»¥Ã¥È¤¹¤ë¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.TP
-.B EACCES
-.\"O The caller does not have permission to unlink this semaphore.
-¸Æ¤Ó½Ð¤·¸µ¤Ë¤Ï¤³¤Î¥»¥Þ¥Õ¥©¤òºï½ü¤¹¤ëµö²Ä¤¬¤Ê¤¤¡£
-.TP
-.B ENAMETOOLONG
-.\"O .I name
-.\"O was too long.
-.I name
-¤¬Ä¹¤¹¤®¤ë¡£
-.TP
-.B ENOENT
-.\"O There is no semaphore with the given
-.\"O .IR name .
-»ØÄꤵ¤ì¤¿Ì¾Á°
-.I name
-¤Î¥»¥Þ¥Õ¥©¤¬Â¸ºß¤·¤Ê¤¤¡£
-.\"O .SH CONFORMING TO
-.SH ½àµò
-POSIX.1-2001.
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR sem_getvalue (3),
-.BR sem_open (3),
-.BR sem_post (3),
-.BR sem_wait (3),
-.BR sem_overview (7)
+\fI\-lrt\fP または \fI\-pthread\fP でリンクする。
+.SH 説明
+\fBsem_unlink\fP()  は、 \fIname\fP で参照される名前付きセマフォを削除する。 セマフォの名前は直ちに削除される。
+このセマフォをオープンしている他のすべてのプロセスがセマフォを 閉じて初めてセマフォの削除が行われる。
+.SH 返り値
+成功すると、 \fBsem_unlink\fP()  は 0 を返す。エラーの場合、\-1 を返し、 \fIerrno\fP にエラーを示す値をセットする。
+.SH エラー
+.TP 
+\fBEACCES\fP
+呼び出し元にはこのセマフォを削除する許可がない。
+.TP 
+\fBENAMETOOLONG\fP
+\fIname\fP が長すぎる。
+.TP 
+\fBENOENT\fP
+指定された名前 \fIname\fP のセマフォが存在しない。
+.SH 準拠
+POSIX.1\-2001.
+.SH 関連項目
+\fBsem_getvalue\fP(3), \fBsem_open\fP(3), \fBsem_post\fP(3), \fBsem_wait\fP(3),
+\fBsem_overview\fP(7)