JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 22 for alarm (0.004 sec.)
Man page of ALARM 15285
ALARM Section: Linux Programmer's Manual (2) Updated: 2017-05-03 Index JM Home Page 名前 alarm - シグナル配送のためのアラームクロックを設定する 書式 #include < unistd.h > unsigned int alarm(unsigned int seconds ); 説明 alarm () は SIGALRM シ ... 送するように手配する。 seconds がゼロならば、処理待ち (pending) のアラームはすべてキャンセルされる。 今までに設定されていた alarm () は中断される。 返り値 alarm () は以前に予定されていたアラームの配送までの残り時間を返す。以前に アラームが予定されていな ... ければゼロを返す。 準拠 POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. 注意 alarm () と setitimer (2) は同じタイマーを共有している; 片方を呼び出すことはもう一方の 使用に影響を与える。 alarm () で作成された ... 後で保持され、 fork (2) で作成された子プロセスには継承されない。 sleep (3) は SIGALRM を利用して実装されているかもしれない。 alarm () と sleep (3) を混ぜて使用してはならない。 スケジューリング(scheduling)の遅延により、プロセスの実行に不定量の 遅延が起き ...
https://man.mtool.work/man/20260915/man2/alarm.2.html
Man page of SLEEP 9982
SLEEP Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 sleep - 指定の秒数の間だけ休止する 書式 #include < unistd.h > unsigned int sleep(unsigned int seconds ); 説明 sleep () causes the calling thread to sle ... leep (2) man page for a discussion of the clock used. Portability notes On some systems, sleep () may be implemented using alarm (2) and SIGALRM (POSIX.1 permits this); mixing calls to alarm (2) and sleep () is a bad idea. 休止中にシグナルハンドラーか ... ら longjmp (3) を使用することや SIGALRM のハンドリングを変更することは、定義されていない結果を生む。 関連項目 sleep (1), alarm (2), nanosleep (2), signal (2), signal (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 ...
https://man.mtool.work/man/20260915/man3/sleep.3.html
Man page of UALARM 9898
UALARM Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 ualarm - 指定したマイクロ秒後にシグナルを送る予定をする 書式 #include < unistd.h > useconds_t ualarm(useconds_t usecs , useconds_t interval ); glibc 向 ... けの機能検査マクロの要件 ( feature_test_macros (7) 参照): ualarm (): glibc 2.12 以降: (_XOPEN_SOURCE >= 500) && ! (_POSIX_C_SOURCE >= 200809L) || /* Glibc 2.19 以降: */ _DEFAULT_SOURCE || ... /* Glibc 2.19 以前: */ _BSD_SOURCE glibc 2.12 より前: _BSD_SOURCE || _XOPEN_SOURCE >= 500 説明 ualarm () 関数は、呼び出し元のプロセスに対して usecs マイクロ秒 (以上) 後に SIGALRM シグナルを送る。 遅れはシステムの活性度・呼び ... 初の SIGALRM シグナルの後、 さらに interval マイクロ秒毎に SIGALRM シグナルが送られる。 返り値 この関数は、過去に設定された alarm の残りマイクロ秒数を返す。 実行中の alarm がない場合は 0 を返す。 エラー EINTR シグナルによって中断された。 signal (7) 参照 ...
https://man.mtool.work/man/20260915/man3/ualarm.3.html
Man page of TLOAD 9157
TLOAD Section: Linux User's Manual (1) Updated: 20 Mar 1993 Index JM Home Page 名前 tload - システムの負荷をグラフィカルに表示する 書式 tload [ -V ] [ -s scale ] [ -d delay ] [ tty ] 説明 tload は現在のシステムの負荷 (load average) を、 指定 ... する。 ファイル /proc/loadavg 負荷情報 関連項目 ps (1), top (1), uptime (1), w (1) バグ -d delay オプションは引き数の時間を alarm (2) に設定する。 -d 0 を指定すると alarm は 0 となり、 SIGALRM は決して送信されず、画面は更新されない。 著者 Branko Lankes ...
https://man.mtool.work/man/20260915/man1/tload.1.html
Man page of SEM_WAIT 8602
SEM_WAIT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 sem_wait, sem_timedwait, sem_trywait - セマフォをロックする 書式 #include < semaphore.h > int sem_wait(sem_t * sem ); int sem_trywait(sem_t * sem ); ... ain(int argc, char *argv[]) { struct sigaction sa; struct timespec ts; int s; if (argc != 3) { fprintf(stderr, "Usage: %s <alarm-secs> <wait-secs>\n", argv[0]); exit(EXIT_FAILURE); } if (sem_init(&sem, 0, 0) == -1) handle_error("sem_init"); /* Establi ... sh SIGALRM handler; set alarm timer using argv[1] */ sa.sa_handler = handler; sigemptyset(&sa.sa_mask); sa.sa_flags = 0; if (sigaction(SIGALRM, &sa, NUL ... L) == -1) handle_error("sigaction"); alarm(atoi(argv[1])); /* Calculate relative interval as current time plus number of seconds given argv[2] */ if (clock_gettime(C ...
https://man.mtool.work/man/20260915/man3/sem_timedwait.3.html
Man page of SEM_WAIT 8602
SEM_WAIT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 sem_wait, sem_timedwait, sem_trywait - セマフォをロックする 書式 #include < semaphore.h > int sem_wait(sem_t * sem ); int sem_trywait(sem_t * sem ); ... ain(int argc, char *argv[]) { struct sigaction sa; struct timespec ts; int s; if (argc != 3) { fprintf(stderr, "Usage: %s <alarm-secs> <wait-secs>\n", argv[0]); exit(EXIT_FAILURE); } if (sem_init(&sem, 0, 0) == -1) handle_error("sem_init"); /* Establi ... sh SIGALRM handler; set alarm timer using argv[1] */ sa.sa_handler = handler; sigemptyset(&sa.sa_mask); sa.sa_flags = 0; if (sigaction(SIGALRM, &sa, NUL ... L) == -1) handle_error("sigaction"); alarm(atoi(argv[1])); /* Calculate relative interval as current time plus number of seconds given argv[2] */ if (clock_gettime(C ...
https://man.mtool.work/man/20260915/man3/sem_trywait.3.html
Man page of SEM_WAIT 8602
SEM_WAIT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 sem_wait, sem_timedwait, sem_trywait - セマフォをロックする 書式 #include < semaphore.h > int sem_wait(sem_t * sem ); int sem_trywait(sem_t * sem ); ... ain(int argc, char *argv[]) { struct sigaction sa; struct timespec ts; int s; if (argc != 3) { fprintf(stderr, "Usage: %s <alarm-secs> <wait-secs>\n", argv[0]); exit(EXIT_FAILURE); } if (sem_init(&sem, 0, 0) == -1) handle_error("sem_init"); /* Establi ... sh SIGALRM handler; set alarm timer using argv[1] */ sa.sa_handler = handler; sigemptyset(&sa.sa_mask); sa.sa_flags = 0; if (sigaction(SIGALRM, &sa, NUL ... L) == -1) handle_error("sigaction"); alarm(atoi(argv[1])); /* Calculate relative interval as current time plus number of seconds given argv[2] */ if (clock_gettime(C ...
https://man.mtool.work/man/20260915/man3/sem_wait.3.html
Man page of USLEEP 8501
USLEEP Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 usleep - マイクロ秒単位で実行を延期する 書式 #include < unistd.h > int usleep(useconds_t usec ); glibc 向けの機能検査マクロの要件 ( feature_test_macro ... 下のように使うこと。 #include < unistd.h > ... unsigned int usecs; ... usleep(usecs); この関数と、 SIGALRM シグナルあるいは alarm (2), sleep (3), nanosleep (2), setitimer (2), timer_create (2), timer_delete (2), timer_getoverrun (2), timer_gettime (2), ... timer_settime (2), ualarm (3) といったその他のタイマー関数を同時に使った場合の動作は未定義である。 関連項目 alarm (2), getitimer (2), nanosleep (2), ... select (2), setitimer (2), sleep (3), ualarm (3), time (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説 ...
https://man.mtool.work/man/20260915/man3/usleep.3.html
Man page of SNMP_AGENT_API 8030
SNMP_AGENT_API Section: C Library Functions (3) Updated: 27 Oct 1999 Index JM Home Page 名前 default_store - 大域データの一般的な格納場所 書式 #include < ucd-snmp/ucd-snmp-config.h > #include < ucd-snmp/ucd-snmp-includes.h > int ds_set_bool ... * 数値の oid のみを表示する */ #define DS_LIB_DONT_BREAKDOWN_OIDS 10 /* oid インデックスを特に表示しない */ #define DS_LIB_ALARM_DONT_USE_SIG 11 /* alarm() シグナルを使わない */ #define DS_LIB_PRINT_FULL_OID 12 /* 完全な oid を表示する */ #define DS_L ...
https://man.mtool.work/man/20260915/man3/default_store.3.html
Man page of time 7945
time Section: Environments, Tables, and Troff Macros (7) Updated: 2026-02-08 Index JM Home Page 名前 time - 時間とタイマーの概要 説明 実時間 (real time) とプロセス時間 実時間 は、特定の時点から計った時間と定義されます。 特定の時点とは、過去 ... スは将来のある時点で 有効期間が終了するタイマーを設定できます。またオプションとして繰り返し間隔が指定できるものもあります。 alarm (2), getitimer (2), timerfd_create (2), timer_create (2) を参照してください。 Timer slack Linux 2.6.28 以降では、スレッドの ... す。詳細は prctl (2) の PR_SET_TIMERSLACK の説明を参照してください。 関連項目 date (1), time (1), timeout (1), adjtimex (2), alarm (2), clock_gettime (2), clock_nanosleep (2), getitimer (2), getrlimit (2), getrusage (2), gettimeofday (2), nanosleep (2), ...
https://man.mtool.work/man/20260915/man7/time.7.html
PREV 1 2 3 NEXT

リンク

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