-.\" man2/inotify_rm_watch.2 - inotify_rm_watch man page
-.\"
.\" 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
.\" 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, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
.\"
.\" 2005-07-19 Robert Love <rlove@rlove.org> - initial version
.\" 2006-02-07 mtk, minor changes
.\"
-.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI
-.\" all rights reserved.
-.\" Translated 2006-08-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.39
+.\"*******************************************************************
.\"
-.\" WORD: watch ´Æ»ë¥¢¥¤¥Æ¥à
-.\" WORD: watch descriptor ´Æ»ëÂоݥǥ£¥¹¥¯¥ê¥×¥¿
+.\" This file was generated with po4a. Translate the source file.
.\"
-.TH INOTIFY_RM_WATCH 2 2006-02-07 "Linux" "Linux Programmer's Manual"
-.SH ̾Á°
-inotify_rm_watch \- inotify ¥¤¥ó¥¹¥¿¥ó¥¹¤«¤é´û¸¤Î´Æ»ë¥¢¥¤¥Æ¥à¤òºï½ü¤¹¤ë
-.SH ½ñ¼°
-.B #include <sys/inotify.h>
+.\"*******************************************************************
+.TH INOTIFY_RM_WATCH 2 2010\-10\-15 Linux "Linux Programmer's Manual"
+.SH 名前
+inotify_rm_watch \- inotify インスタンスから既存の監視アイテムを削除する
+.SH 書式
+\fB#include <sys/inotify.h>\fP
.sp
-.BI "int inotify_rm_watch(int " fd ", uint32_t " wd );
-.\" FIXME . The type of the second argument should probably be "int".
-.\" I submitted a patch to fix this. See the LKML thread
-.\" "[patch] Fix type errors in inotify interfaces", 18 Nov 2008
-.\" Glibc bug filed: http://sources.redhat.com/bugzilla/show_bug.cgi?id=7040
-.SH ÀâÌÀ
-.BR inotify_rm_watch ()
-¤Ï¡¢´Æ»ëÂоݥǥ£¥¹¥¯¥ê¥×¥¿ (watch descriptor)
-.I wd
-¤ËÂбþ¤¹¤ë´Æ»ë¥¢¥¤¥Æ¥à¤ò¡¢
-¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿
-.I fd
-¤ËÂбþ¤¹¤ë inotify ¥¤¥ó¥¹¥¿¥ó¥¹¤«¤éºï½ü¤¹¤ë¡£
+.\" 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 インスタンスから削除する。
-´Æ»ëÂоݤòºï½ü¤¹¤ë¤È¡¢
-¤³¤Î´Æ»ëÂоݥǥ£¥¹¥¯¥ê¥×¥¿¤ËÂФ·¤Æ
-.B IN_IGNORED
-¥¤¥Ù¥ó¥È¤¬À¸À®¤µ¤ì¤ë
-.RB ( inotify (7)
-»²¾È)¡£
-.SH ÊÖ¤êÃÍ
-À®¸ù¤¹¤ë¤È¡¢
-.BR inotify_rm_watch ()
-¤Ï 0 ¤òÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
-.I errno
-¤òŬÀÚ¤ËÀßÄꤹ¤ë¡£
-.SH ¥¨¥é¡¼
-.TP
-.B EBADF
-.I fd
-¤¬Í¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ï¤Ê¤¤¡£
-.TP
-.B EINVAL
-´Æ»ëÂоݥǥ£¥¹¥¯¥ê¥×¥¿
-.I wd
-¤¬Í¸ú¤Ç¤Ê¤¤¡£¤â¤·¤¯¤Ï¡¢
-.I fd
-¤¬ inotify ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ï¤Ê¤¤¡£
-.SH ¥Ð¡¼¥¸¥ç¥ó
-inotify ¤Ï Linux ¥«¡¼¥Í¥ë 2.6.13 ¤ËÁȤ߹þ¤Þ¤ì¤¿¡£
-.SH ½àµò
-¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï Linux Æȼ«¤Ç¤¢¤ë¡£
-.SH ´ØÏ¢¹àÌÜ
-.BR inotify_add_watch (2),
-.BR inotify_init (2),
-.BR inotify (7)
+監視対象を削除すると、 この監視対象ディスクリプタに対して \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.50 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。