JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 13 for nsecs (0.002 sec.)
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/getopt.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/getopt_long.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/getopt_long_only.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/optarg.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/opterr.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/optind.3.html
Man page of GETOPT 10082
GETOPT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - コマンドラインオプションを解釈する 書式 #include < unistd.h > int getopt(int a ... る。 #include < unistd.h > #include < stdlib.h > #include < stdio.h > int main(int argc, char *argv[]) { int flags, opt; int nsecs, tfnd; nsecs = 0; tfnd = 0; flags = 0; while ((opt = getopt(argc, argv, "nt:")) != -1) { switch (opt) { case 'n': flags = ... 1; break; case 't': nsecs = atoi(optarg); tfnd = 1; break; default: /* '?' */ fprintf(stderr, "Usage: %s [-t nsecs] [-n] name\n", argv[0]); exit(EXI ... T_FAILURE); } } printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\n", flags, tfnd, nsecs, optind); if (optind >= argc) { fprintf(stderr, "Expected argument after options\n"); ...
https://man.mtool.work/man/20260915/man3/optopt.3.html
Man page of TIMERFD_CREATE 8868
TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前 timerfd_create, timerfd_settime, timerfd_gettime - ファイルディスクリプター経由で通知するタイマー 書式 #include < sys/timerfd.h > int timerfd_ ... c void print_elapsed_time(void) { static struct timespec start; struct timespec curr; static int first_call = 1; int secs, nsecs; if (first_call) { first_call = 0; if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if ( ... clock_gettime(CLOCK_MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start.tv_sec; nsecs = curr.tv_nsec - start.tv_nsec; if (nsecs < 0) { secs--; nsecs += 1000000000; } printf("%d.%03d: ", secs, (nsecs + 500000) ...
https://man.mtool.work/man/20260915/man2/timerfd_create.2.html
Man page of TIMERFD_CREATE 8868
TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前 timerfd_create, timerfd_settime, timerfd_gettime - ファイルディスクリプター経由で通知するタイマー 書式 #include < sys/timerfd.h > int timerfd_ ... c void print_elapsed_time(void) { static struct timespec start; struct timespec curr; static int first_call = 1; int secs, nsecs; if (first_call) { first_call = 0; if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if ( ... clock_gettime(CLOCK_MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start.tv_sec; nsecs = curr.tv_nsec - start.tv_nsec; if (nsecs < 0) { secs--; nsecs += 1000000000; } printf("%d.%03d: ", secs, (nsecs + 500000) ...
https://man.mtool.work/man/20260915/man2/timerfd_gettime.2.html
Man page of TIMERFD_CREATE 8868
TIMERFD_CREATE Section: Linux Programmer's Manual (2) Updated: 2011-09-14 Index JM Home Page 名前 timerfd_create, timerfd_settime, timerfd_gettime - ファイルディスクリプター経由で通知するタイマー 書式 #include < sys/timerfd.h > int timerfd_ ... c void print_elapsed_time(void) { static struct timespec start; struct timespec curr; static int first_call = 1; int secs, nsecs; if (first_call) { first_call = 0; if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) handle_error("clock_gettime"); } if ( ... clock_gettime(CLOCK_MONOTONIC, &curr) == -1) handle_error("clock_gettime"); secs = curr.tv_sec - start.tv_sec; nsecs = curr.tv_nsec - start.tv_nsec; if (nsecs < 0) { secs--; nsecs += 1000000000; } printf("%d.%03d: ", secs, (nsecs + 500000) ...
https://man.mtool.work/man/20260915/man2/timerfd_settime.2.html
PREV 1 2 NEXT

リンク

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