Results of 11 - 14 of about 14 for nfds (0.010 sec.)
- Man page of SELECT 8367
- SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select
...
sys/types.h > #include < unistd.h > int select(int nfds , fd_set * readfds , fd_set * writefds , fd_set * ...
* set ); #include < sys/select.h > int pselect(int nfds , fd_set * readfds , fd_set * writefds , fd_set * ...
マクロは select () が終了した後に使うと便利である。 nfds は 3 つの集合に含まれるファイルディスクリプターの最 ...
と、以下の pselect () の呼び出しは、 ready = pselect(nfds, &readfds, &writefds, &exceptfds, timeout, &sigmas ...
-
https://man.plustar.jp/manpage/man3/FD_ZERO.3.html
- [similar]
- Man page of EPOLL 7037
- EPOLL Section: Linux Programmer's Manual (7) Updated: 2019-03-06 Index JM Home Page 名前 epoll -
...
v, events[MAX_EVENTS]; int listen_sock, conn_sock, nfds, epollfd; /* Code to set up listening socket, 'lis ...
l: listen_sock"); exit(EXIT_FAILURE); } for (;;) { nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1); if ...
(nfds == -1) { perror("epoll_wait"); exit(EXIT_FAILURE); ...
} for (n = 0; n < nfds; ++n) { if (events[n].data.fd == listen_sock) { co ...
-
https://man.plustar.jp/manpage/man7/epoll.7.html
- [similar]
- Man page of FANOTIFY 6669
- FANOTIFY Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page 名前 fano
...
argc, char *argv[]) { char buf; int fd, poll_num; nfds_t nfds; struct pollfd fds[2]; /* マウントポイントが ...
rk"); exit(EXIT_FAILURE); } /* ポーリングの準備 */ nfds = 2; /* コンソールの入力 */ fds[0].fd = STDIN_FILE ...
for events.\n"); while (1) { poll_num = poll(fds, nfds, -1); if (poll_num == -1) { if (errno == EINTR) /* ...
-
https://man.plustar.jp/manpage/man7/fanotify.7.html
- [similar]
- Man page of INOTIFY 6669
- INOTIFY Section: Linux Programmer's Manual (7) Updated: 2020-11-01 Index JM Home Page 名前 inoti
...
argv[]) { char buf; int fd, i, poll_num; int *wd; nfds_t nfds; struct pollfd fds[2]; if (argc < 2) { prin ...
)); exit(EXIT_FAILURE); } } /* ポーリングの準備 */ nfds = 2; /* コンソールの入力 */ fds[0].fd = STDIN_FILE ...
for events.\n"); while (1) { poll_num = poll(fds, nfds, -1); if (poll_num == -1) { if (errno == EINTR) co ...
-
https://man.plustar.jp/manpage/man7/inotify.7.html
- [similar]