OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man2 / inotify_rm_watch.2
1 .\" Copyright (C) 2005 Robert Love
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\" %%%LICENSE_END
23 .\"
24 .\" 2005-07-19 Robert Love <rlove@rlove.org> - initial version
25 .\" 2006-02-07 mtk, minor changes
26 .\"
27 .\"*******************************************************************
28 .\"
29 .\" This file was generated with po4a. Translate the source file.
30 .\"
31 .\"*******************************************************************
32 .\"
33 .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI
34 .\"         all rights reserved.
35 .\" Translated 2006-08-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.39
36 .\"
37 .TH INOTIFY_RM_WATCH 2 2010\-10\-15 Linux "Linux Programmer's Manual"
38 .SH 名前
39 inotify_rm_watch \- inotify インスタンスから既存の監視アイテムを削除する
40 .SH 書式
41 \fB#include <sys/inotify.h>\fP
42 .sp
43 .\" Before glibc 2.10, the second argument was types as uint32_t.
44 .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
45 \fBint inotify_rm_watch(int \fP\fIfd\fP\fB, int \fP\fIwd\fP\fB);\fP
46 .SH 説明
47 \fBinotify_rm_watch\fP()  は、監視対象ディスクリプター (watch descriptor)  \fIwd\fP
48 に対応する監視アイテムを、 ファイルディスクリプター \fIfd\fP に対応する inotify インスタンスから削除する。
49
50 監視対象を削除すると、 この監視対象ディスクリプターに対して \fBIN_IGNORED\fP イベントが生成される (\fBinotify\fP(7)  参照)。
51 .SH 返り値
52 成功すると、\fBinotify_rm_watch\fP() は 0 を返す。 エラーの場合、\-1 を返し、 \fIerrno\fP
53 をエラーの原因を示す値に設定する。
54 .SH エラー
55 .TP 
56 \fBEBADF\fP
57 \fIfd\fP が有効なファイルディスクリプターではない。
58 .TP 
59 \fBEINVAL\fP
60 監視対象ディスクリプター \fIwd\fP が有効でない。もしくは、 \fIfd\fP が inotify ファイルディスクリプターではない。
61 .SH バージョン
62 inotify は Linux カーネル 2.6.13 に組み込まれた。
63 .SH 準拠
64 このシステムコールは Linux 独自である。
65 .SH 関連項目
66 \fBinotify_add_watch\fP(2), \fBinotify_init\fP(2), \fBinotify\fP(7)
67 .SH この文書について
68 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
69 である。プロジェクトの説明とバグ報告に関する情報は
70 http://www.kernel.org/doc/man\-pages/ に書かれている。