JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... (以下のタイプの構造体)を介して呼び出し元に情報を返します。 struct ntptimeval { struct timeval time; /* Current time */ long maxerror; /* Maximum error */ long esterror; /* Estimated error */ long tai; /* TAI offset */ /* Further padding bytes allowing for ... eval 構造で表される現在の時刻: struct timeval { time_t tv_sec; /* 紀元からの秒 */ suseconds_t tv_usec; /* マイクロ秒 */ }; maxerror 最大エラーはマイクロ秒単位です。この値は ntp_adjtime (3) によって初期化され、定期的に(Linux では毎秒)増加しますが、上限はあ ... せん。 tai TAI (Atomic International Time) オフセット。 ntp_gettime () は ntptimeval 構造体を返します。この構造体の time 、 maxerror 、 esterror フィールドに値が入っています。 ntp_gettimex () は ntp_gettime ()と同じタスクを実行しますが、 tai フィールドの情 ... ... nds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum error (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/statu ... 68000, +32768000) の範囲にクランプされます。古いカーネルでは、指定された値が範囲外の場合、 EINVAL エラーが発生します。 ADJ_MAXERROR buf.maxerror を最大時刻エラーを設定します。 ADJ_ESTERROR buf.esterror を推定時刻エラー (estimated time error) を設定します ... ... nds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum error (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/statu ... 68000, +32768000) の範囲にクランプされます。古いカーネルでは、指定された値が範囲外の場合、 EINVAL エラーが発生します。 ADJ_MAXERROR buf.maxerror を最大時刻エラーを設定します。 ADJ_ESTERROR buf.esterror を推定時刻エラー (estimated time error) を設定します ... ... nds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum error (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/statu ... 68000, +32768000) の範囲にクランプされます。古いカーネルでは、指定された値が範囲外の場合、 EINVAL エラーが発生します。 ADJ_MAXERROR buf.maxerror を最大時刻エラーを設定します。 ADJ_ESTERROR buf.esterror を推定時刻エラー (estimated time error) を設定します ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。