JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ex * buf ); int clock_adjtime(clockid_t clk_id, struct timex * buf ); int ntp_adjtime(struct timex * buf ); 説明 Linux は David L. Mill の時計調節アルゴリズムを使用しています (RFC 590 ... 5 を参照)。システムコール adjtimex () は、このアルゴリズム用の調節パラメータを読み取ったり、設定したりします。この関数は timex 構造体へのポインタを受け取り、 ... の値でカーネルのパラメーターを更新し、同じ構造体に現在のカーネルの値を返します。この構造体は以下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise micro ... ... ex * buf ); int clock_adjtime(clockid_t clk_id, struct timex * buf ); int ntp_adjtime(struct timex * buf ); 説明 Linux は David L. Mill の時計調節アルゴリズムを使用しています (RFC 590 ... 5 を参照)。システムコール adjtimex () は、このアルゴリズム用の調節パラメータを読み取ったり、設定したりします。この関数は timex 構造体へのポインタを受け取り、 ... の値でカーネルのパラメーターを更新し、同じ構造体に現在のカーネルの値を返します。この構造体は以下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise micro ... ... ex * buf ); int clock_adjtime(clockid_t clk_id, struct timex * buf ); int ntp_adjtime(struct timex * buf ); 説明 Linux は David L. Mill の時計調節アルゴリズムを使用しています (RFC 590 ... 5 を参照)。システムコール adjtimex () は、このアルゴリズム用の調節パラメータを読み取ったり、設定したりします。この関数は timex 構造体へのポインタを受け取り、 ... の値でカーネルのパラメーターを更新し、同じ構造体に現在のカーネルの値を返します。この構造体は以下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise micro ... ... > int ntp_gettime(struct ntptimeval * ntv ); int ntp_gettimex(struct ntptimeval * ntv ); 説明 これらの API は両方とも、 ntv 引き数(以下のタイプの構造体)を介して呼び出し元に情報を返しま ... gettime () は ntptimeval 構造体を返します。この構造体の time 、 maxerror 、 esterror フィールドに値が入っています。 ntp_gettimex () は ntp_gettime ()と同じタスクを実行しますが、 tai フィールドの情報も返します。 返り値 ntp_gettime () と ntp_gettimex () ... の戻り値は adjtimex (2) と同じです。正しいポインタ引数が与えられれば、これらの関数は常に成功します。 属性 この節で使用されている用語の説明につ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。