JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... スタンプは、 指定された時刻を超えないファイルシステムがサポートする最大の値に設定されます。 それぞれの timespec 構造体の tv_nsec フィールドには UTIME_NOW を指定することができ、 その場合はファイルの対応するタイムスタンプは現在時刻に設定されます。 times ... pec 構造体の tv_nsec フィールドには UTIME_OMIT を指定することができ、 その場合はファイルの対応するタイムスタンプは変更されないままとなります。こ ... ます。 アクセス許可の要件 ファイルの両方のタイムスタンプを現在時刻に設定するためには (すなわち times が NULL か、 両方の tv_nsec フィールドに UTIME_NOW が指定するためには)、 以下のいずれかが必要です。 • 呼び出し元がファイルに対する書き込み許可を持って ... ... スタンプは、 指定された時刻を超えないファイルシステムがサポートする最大の値に設定されます。 それぞれの timespec 構造体の tv_nsec フィールドには UTIME_NOW を指定することができ、 その場合はファイルの対応するタイムスタンプは現在時刻に設定されます。 times ... pec 構造体の tv_nsec フィールドには UTIME_OMIT を指定することができ、 その場合はファイルの対応するタイムスタンプは変更されないままとなります。こ ... ます。 アクセス許可の要件 ファイルの両方のタイムスタンプを現在時刻に設定するためには (すなわち times が NULL か、 両方の tv_nsec フィールドに UTIME_NOW が指定するためには)、 以下のいずれかが必要です。 • 呼び出し元がファイルに対する書き込み許可を持って ... ... 2 つのフィールドがあり、各フィールドは timespec 型の構造体である。 struct timespec { time_t tv_sec; /* Seconds */ long tv_nsec; /* Nanoseconds */ }; struct itimerspec { struct timespec it_interval; /* Interval for periodic timer */ struct timespec i ... クリプターでない。 timerfd_settime () は以下のエラーで失敗することもある。 EINVAL new_value が適切に初期化されていない ( tv_nsec の一つが 0 から 999,999,999 までの範囲に入っていない)。 EINVAL flags が無効である。 バージョン これらのシステムコールはカー ... 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 ... ... 2 つのフィールドがあり、各フィールドは timespec 型の構造体である。 struct timespec { time_t tv_sec; /* Seconds */ long tv_nsec; /* Nanoseconds */ }; struct itimerspec { struct timespec it_interval; /* Interval for periodic timer */ struct timespec i ... クリプターでない。 timerfd_settime () は以下のエラーで失敗することもある。 EINVAL new_value が適切に初期化されていない ( tv_nsec の一つが 0 から 999,999,999 までの範囲に入っていない)。 EINVAL flags が無効である。 バージョン これらのシステムコールはカー ... 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 ... ... 2 つのフィールドがあり、各フィールドは timespec 型の構造体である。 struct timespec { time_t tv_sec; /* Seconds */ long tv_nsec; /* Nanoseconds */ }; struct itimerspec { struct timespec it_interval; /* Interval for periodic timer */ struct timespec i ... クリプターでない。 timerfd_settime () は以下のエラーで失敗することもある。 EINVAL new_value が適切に初期化されていない ( tv_nsec の一つが 0 から 999,999,999 までの範囲に入っていない)。 EINVAL flags が無効である。 バージョン これらのシステムコールはカー ... 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 ... ... pecifying an absolute time measured since the Epoch (see time (2)): struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; 返り値 成功すると、これらの関数は 0 を返す。 エラーの場合、エラー番号を返す。 エラー これらの関数は ... DOUT thread が終了する前に呼び出しがタイムアウトとなった。 EINVAL abstime の値が無効である ( tv_sec が 0 より小さいか、 tv_nsec 1e9 がより大きい)。 pthread_timedjoin_np () がエラー EINTR を返すことはない。 バージョン これらの関数は glibc バージョン 2 ... ... pecifying an absolute time measured since the Epoch (see time (2)): struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; 返り値 成功すると、これらの関数は 0 を返す。 エラーの場合、エラー番号を返す。 エラー これらの関数は ... DOUT thread が終了する前に呼び出しがタイムアウトとなった。 EINVAL abstime の値が無効である ( tv_sec が 0 より小さいか、 tv_nsec 1e9 がより大きい)。 pthread_timedjoin_np () がエラー EINTR を返すことはない。 バージョン これらの関数は glibc バージョン 2 ... ... n, then abs_timeout points to a structure which specifies how long the call will block. This value is an absolute timeout in seconds and nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), specified in the following structure: struct timesp ... ec { time_t tv_sec; /* 秒 */ long tv_nsec; /* ナノ秒 */ }; メッセージがキューになく、関数呼び出し時にすでにタイムアウト時刻が 過ぎている場合、 mq_timedreceive () は ... 関数呼び出しは停止するはずであったが、 abs_timeout が不正であった。 abs_timeout が不正とは、 tv_sec が 0 未満、もしくは tv_nsec が 0 未満か 1,000,000,000 より大きい、ということである。 EMSGSIZE msg_len がメッセージキューの mq_msgsize 属性よりも小さか ... ... n, then abs_timeout points to a structure which specifies how long the call will block. This value is an absolute timeout in seconds and nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), specified in the following structure: struct timesp ... ec { time_t tv_sec; /* 秒 */ long tv_nsec; /* ナノ秒 */ }; メッセージキューが一杯で、関数呼び出し時にすでにタイムアウト時刻が 過ぎている場合、 mq_timedsend () はすぐ ... 関数呼び出しは停止するはずであったが、 abs_timeout が不正であった。 abs_timeout が不正とは、 tv_sec が 0 未満、もしくは tv_nsec が 0 未満か 1,000,000,000 より大きい、ということである。 EMSGSIZE msg_len がメッセージキューの mq_msgsize 属性よりも大きか ... ... n, then abs_timeout points to a structure which specifies how long the call will block. This value is an absolute timeout in seconds and nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), specified in the following structure: struct timesp ... ec { time_t tv_sec; /* 秒 */ long tv_nsec; /* ナノ秒 */ }; メッセージがキューになく、関数呼び出し時にすでにタイムアウト時刻が 過ぎている場合、 mq_timedreceive () は ... 関数呼び出しは停止するはずであったが、 abs_timeout が不正であった。 abs_timeout が不正とは、 tv_sec が 0 未満、もしくは tv_nsec が 0 未満か 1,000,000,000 より大きい、ということである。 EMSGSIZE msg_len がメッセージキューの mq_msgsize 属性よりも小さか ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。