JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... details. FAN_ATTRIB ファイルかディレクトリのメタデータが変更された。 FAN_CREATE A child file or directory was created in a watched parent. FAN_DELETE A child file or directory was deleted in a watched parent. FAN_DELETE_SELF A watched file or directory ... was deleted. FAN_MOVED_FROM A file or directory has been moved from a watched parent directory. FAN_MOVED_TO A file or directory has been moved to a watched parent directory. FAN_MOVE_SELF 監視対象のデ ... inates. The following shell sessions show two different invocations of this program, with different actions performed on a watched object. The first session shows a mark being placed on /home/user . This is followed by the creation of a regular file, /h ... ... れたファイルディスクリプターが有効ではない。 EEXIST mask contains IN_MASK_CREATE and pathname refers to a file already being watched by the same fd . EFAULT pathname が指すアドレスがプロセスがアクセスできるアドレス空間外である。 EINVAL The given event mas ... ... athname only if it does not already have a watch associated with it; the error EEXIST results if pathname is already being watched. Using this flag provides an application with a way of ensuring that new watches do not modify existing ones. This is usef ... . wd is the table of watch descriptors for the directories in argv. argc is the length of wd and argv. argv is the list of watched directories. Entry 0 of wd and argv is unused. */ static void handle_events(int fd, int *wd, int argc, char* argv[]) { /* ... RITE) printf("IN_CLOSE_NOWRITE: "); if (event->mask & IN_CLOSE_WRITE) printf("IN_CLOSE_WRITE: "); /* Print the name of the watched directory */ for (int i = 1; i < argc; ++i) { if (wd[i] == event->wd) { printf("%s/", argv[i]); break; } } /* Print the na ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。