OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / mq_unlink.3
index 6581a26..71179d3 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-23, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.TH MQ_UNLINK 3 2006-02-25 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O mq_unlink \- remove a message queue
-mq_unlink \- ¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤òºï½ü¤¹¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH MQ_UNLINK 3 2010\-08\-29 Linux "Linux Programmer's Manual"
+.SH 名前
+mq_unlink \- メッセージキューを削除する
+.SH 書式
 .nf
-.B #include <mqueue.h>
+\fB#include <mqueue.h>\fP
 .sp
-.BI "mqd_t mq_unlink(const char *" name );
+\fBint mq_unlink(const char *\fP\fIname\fP\fB);\fP
 .fi
 .sp
-.\"O Link with \fI\-lrt\fP.
-\fI\-lrt\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O .BR mq_unlink ()
-.\"O removes the specified message queue
-.\"O .IR name .
-.\"O The message queue name is removed immediately.
-.\"O The queue itself is destroyed once any other processes that have
-.\"O the queue open close their descriptors referring to the queue.
-.BR mq_unlink ()
-¤Ï»ØÄꤵ¤ì¤¿¥á¥Ã¥»¡¼¥¸¥­¥å¡¼
-.I name
-¤òºï½ü¤¹¤ë¡£
-¥á¥Ã¥»¡¼¥¸¥­¥å¡¼Ì¾¤Ïľ¤Á¤Ëºï½ü¤µ¤ì¤ë¡£
-¥­¥å¡¼¼«ÂΤϡ¢¤½¤Î¥­¥å¡¼¤ò¥ª¡¼¥×¥ó¤·¤¿Â¾¤Î¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤¬
-¤½¤Î¥­¥å¡¼¤ò»²¾È¤¹¤ëµ­½Ò»Ò¤ò¥¯¥í¡¼¥º¤·¤¿»þÅÀ¤ÇÇË´þ¤µ¤ì¤ë¡£
-.\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
-.\"O On success
-.\"O .BR mq_unlink ()
-.\"O returns 0; on error, \-1 is returned, with
-.\"O .I errno
-.\"O set to indicate the error.
-À®¸ù¤¹¤ë¤È¡¢
-.BR mq_unlink ()
-¤Ï 0 ¤òÊÖ¤¹¡£¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
-.I errno
-¤Ë¥¨¥é¡¼¤ò¼¨¤¹ÃͤòÀßÄꤹ¤ë¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.TP
-.B EACCES
-.\"O The caller does not have permission to unlink this message queue.
-¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤¬¤³¤Î¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤òºï½ü (unlink) ¤¹¤ë
-µö²Ä¤ò»ý¤¿¤Ê¤¤¡£
-.TP
-.B ENAMETOOLONG
-.\"O .I name
-.\"O was too long.
-.I name
-¤¬Ä¹²á¤®¤ë¡£
-.TP
-.B ENOENT
-.\"O There is no message queue with the given
-.\"O .IR name .
-»ØÄꤵ¤ì¤¿Ì¾Á°
-.I name
-¤ò»ý¤Ä¥á¥Ã¥»¡¼¥¸¥­¥å¡¼¤¬Â¸ºß¤·¤Ê¤¤¡£
-.\"O .SH CONFORMING TO
-.SH ½àµò
-POSIX.1-2001.
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR mq_close (3),
-.BR mq_getattr (3),
-.BR mq_notify (3),
-.BR mq_open (3),
-.BR mq_receive (3),
-.BR mq_send (3),
-.BR mq_overview (7)
+\fI\-lrt\fP でリンクする。
+.SH 説明
+\fBmq_unlink\fP()  は指定されたメッセージキュー \fIname\fP を削除する。 メッセージキュー名は直ちに削除される。
+キュー自体は、そのキューをオープンした他のすべてのプロセスが そのキューを参照する記述子をクローズした時点で破棄される。
+.SH 返り値
+成功すると、 \fBmq_unlink\fP()  は 0 を返す。エラーの場合、\-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
+.SH エラー
+.TP 
+\fBEACCES\fP
+呼び出し元プロセスがこのメッセージキューを削除 (unlink) する 許可を持たない。
+.TP 
+\fBENAMETOOLONG\fP
+\fIname\fP が長過ぎる。
+.TP 
+\fBENOENT\fP
+指定された名前 \fIname\fP を持つメッセージキューが存在しない。
+.SH 準拠
+POSIX.1\-2001.
+.SH 関連項目
+\fBmq_close\fP(3), \fBmq_getattr\fP(3), \fBmq_notify\fP(3), \fBmq_open\fP(3),
+\fBmq_receive\fP(3), \fBmq_send\fP(3), \fBmq_overview\fP(7)