JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 8 of about 8 for rfds (0.002 sec.)
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man2/_newselect.2.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man2/pselect.2.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man2/pselect6.2.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man2/select.2.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man3/FD_CLR.3.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man3/FD_ISSET.3.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man3/FD_SET.3.html
Man page of SELECT 9037
SELECT Section: Linux Programmer's Manual (2) Updated: 2015-01-22 Index JM Home Page 名前 select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - 同期 I/O の多重化 書式 /* POSIX.1-2001 に従う場合 */ #include < sys/select.h > /* 以前の規格に従う ... o.h > #include < stdlib.h > #include < sys/time.h > #include < sys/types.h > #include < unistd.h > int main(void) { fd_set rfds; struct timeval tv; int retval; /* stdin (fd 0) を監視し、入力があった場合に表示する。*/ FD_ZERO(&rfds); FD_SET(0, &rfds); ... /* 5 秒間監視する。*/ tv.tv_sec = 5; tv.tv_usec = 0; retval = select(1, &rfds, NULL, NULL, &tv); /* この時点での tv の値を信頼してはならない。*/ if (retval == -1) perror("select()"); else if (retval) ... printf("今、データが取得できました。\n"); /* FD_ISSET(0, &rfds) が true になる。*/ else printf("5 秒以内にデータが入力されませんでした。\n"); exit(EXIT_SUCCESS); } 関連項目 accept (2), ...
https://man.mtool.work/man/20260915/man3/FD_ZERO.3.html
PREV 1 NEXT

リンク

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