JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 4 of about 4 for pollfd (0.003 sec.)
Man page of POLL 11095
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... e _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < signal.h > #include < poll.h > int ppoll(struct pollfd * fds , nfds_t nfds , const struct timespec * tmo_p , const sigset_t * sigmask ); 説明 poll () performs a similar task to ... nd in poll (). 監視するファイルディスクリプター集合は、 fds 引数で指定する。 fds は、以下の型の構造体の配列である。 struct pollfd { int fd; /* file descriptor */ short events; /* requested events */ short revents; /* returned events */ }; nfds には、 f ... 無限に停止することがあり得る。 返り値 On success, poll () returns a nonnegative value which is the number of elements in the pollfds whose revents fields have been set to a nonzero value (indicating an event or an error). A return value of zero indicates ...
https://man.mtool.work/man/20260915/man2/poll.2.html
Man page of POLL 11095
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... e _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < signal.h > #include < poll.h > int ppoll(struct pollfd * fds , nfds_t nfds , const struct timespec * tmo_p , const sigset_t * sigmask ); 説明 poll () performs a similar task to ... nd in poll (). 監視するファイルディスクリプター集合は、 fds 引数で指定する。 fds は、以下の型の構造体の配列である。 struct pollfd { int fd; /* file descriptor */ short events; /* requested events */ short revents; /* returned events */ }; nfds には、 f ... 無限に停止することがあり得る。 返り値 On success, poll () returns a nonnegative value which is the number of elements in the pollfds whose revents fields have been set to a nonzero value (indicating an event or an error). A return value of zero indicates ...
https://man.mtool.work/man/20260915/man2/ppoll.2.html
Man page of FANOTIFY 7397
FANOTIFY Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page 名前 fanotify - ファイルシステムイベントを監視する 説明 The fanotify API provides notification and interception of filesystem events. Use cases include v ... = FAN_EVENT_NEXT(metadata, len); } } } int main(int argc, char *argv[]) { char buf; int fd, poll_num; nfds_t nfds; struct pollfd fds[2]; /* マウントポイントが指定されたか確認する */ if (argc != 2) { fprintf(stderr, "Usage: %s MOUNT\n", argv[0]); exit( ...
https://man.mtool.work/man/20260915/man7/fanotify.7.html
Man page of INOTIFY 7397
INOTIFY Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page 名前 inotify - ファイルシステムイベントを監視する 説明 inotify API はファイルシステムイベントを監視するための機構を提供する。 inotify は個々のファイルやデ ... printf(" [file]\n"); } } } int main(int argc, char* argv[]) { char buf; int fd, i, poll_num; int *wd; nfds_t nfds; struct pollfd fds[2]; if (argc < 2) { printf("Usage: %s PATH [PATH ...]\n", argv[0]); exit(EXIT_FAILURE); } printf("Press ENTER key to t ...
https://man.mtool.work/man/20260915/man7/inotify.7.html
PREV 1 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。