.\" Copyright (C) 2005 Robert Love .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\" 2005-07-19 Robert Love - initial version .\" 2006-02-07 mtk, minor changes .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI .\" all rights reserved. .\" Translated 2006-08-15, Akihiro MOTOKI , LDP v2.39 .\" .TH INOTIFY_RM_WATCH 2 2010\-10\-15 Linux "Linux Programmer's Manual" .SH 名前 inotify_rm_watch \- inotify インスタンスから既存の監視アイテムを削除する .SH 書式 \fB#include \fP .sp .\" Before glibc 2.10, the second argument was types as uint32_t. .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040 \fBint inotify_rm_watch(int \fP\fIfd\fP\fB, int \fP\fIwd\fP\fB);\fP .SH 説明 \fBinotify_rm_watch\fP() は、監視対象ディスクリプター (watch descriptor) \fIwd\fP に対応する監視アイテムを、 ファイルディスクリプター \fIfd\fP に対応する inotify インスタンスから削除する。 監視対象を削除すると、 この監視対象ディスクリプターに対して \fBIN_IGNORED\fP イベントが生成される (\fBinotify\fP(7) 参照)。 .SH 返り値 成功すると、\fBinotify_rm_watch\fP() は 0 を返す。 エラーの場合、\-1 を返し、 \fIerrno\fP をエラーの原因を示す値に設定する。 .SH エラー .TP \fBEBADF\fP \fIfd\fP が有効なファイルディスクリプターではない。 .TP \fBEINVAL\fP 監視対象ディスクリプター \fIwd\fP が有効でない。もしくは、 \fIfd\fP が inotify ファイルディスクリプターではない。 .SH バージョン inotify は Linux カーネル 2.6.13 に組み込まれた。 .SH 準拠 このシステムコールは Linux 独自である。 .SH 関連項目 \fBinotify_add_watch\fP(2), \fBinotify_init\fP(2), \fBinotify\fP(7) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。