OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man3 / mq_unlink.3
1 .\" t
2 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .\"
32 .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
33 .\" Translated 2006-04-23, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
34 .\"
35 .TH MQ_UNLINK 3 2014\-06\-13 Linux "Linux Programmer's Manual"
36 .SH 名前
37 mq_unlink \- メッセージキューを削除する
38 .SH 書式
39 .nf
40 \fB#include <mqueue.h>\fP
41 .sp
42 \fBint mq_unlink(const char *\fP\fIname\fP\fB);\fP
43 .fi
44 .sp
45 \fI\-lrt\fP でリンクする。
46 .SH 説明
47 \fBmq_unlink\fP()  は指定されたメッセージキュー \fIname\fP を削除する。 メッセージキュー名は直ちに削除される。
48 キュー自体は、そのキューをオープンした他のすべてのプロセスが そのキューを参照する記述子をクローズした時点で破棄される。
49 .SH 返り値
50 成功すると、 \fBmq_unlink\fP()  は 0 を返す。エラーの場合、\-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
51 .SH エラー
52 .TP 
53 \fBEACCES\fP
54 呼び出し元プロセスがこのメッセージキューを削除 (unlink) する 許可を持たない。
55 .TP 
56 \fBENAMETOOLONG\fP
57 \fIname\fP が長過ぎる。
58 .TP 
59 \fBENOENT\fP
60 指定された名前 \fIname\fP を持つメッセージキューが存在しない。
61 .SH 属性
62 .SS "マルチスレッディング (pthreads(7) 参照)"
63 関数 \fBmq_unlink\fP() はスレッドセーフである。
64 .SH 準拠
65 POSIX.1\-2001.
66 .SH 関連項目
67 \fBmq_close\fP(3), \fBmq_getattr\fP(3), \fBmq_notify\fP(3), \fBmq_open\fP(3),
68 \fBmq_receive\fP(3), \fBmq_send\fP(3), \fBmq_overview\fP(7)
69 .SH この文書について
70 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
71 である。プロジェクトの説明とバグ報告に関する情報は
72 http://www.kernel.org/doc/man\-pages/ に書かれている。