OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man2 / gettimeofday.2
index 7f74171..027aa3c 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Modified by Michael Haardt (michael@moria.de)
 .\" Modified 1993-07-23 by Rik Faith (faith@cs.unc.edu)
@@ -42,7 +42,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH GETTIMEOFDAY 2 2012\-04\-12 Linux "Linux Programmer's Manual"
+.TH GETTIMEOFDAY 2 2012\-04\-26 Linux "Linux Programmer's Manual"
 .SH 名前
 gettimeofday, settimeofday \- 時刻を取得/設定する
 .SH 書式
@@ -84,6 +84,8 @@ struct timezone {
 .fi
 .in
 .PP
+.\" FIXME The compilation warning looks to be going away in 2.17
+.\" see glibc commit 4b7634a5e03b0da6f8875de9d3f74c1cf6f2a6e8
 .\" The following is covered under EPERM below:
 .\" .PP
 .\" Only the superuser may use
@@ -120,6 +122,11 @@ SVr4, 4.3BSD に準拠する。 POSIX.1\-2001 は \fBgettimeofday\fP()  につ
 \fBsettimeofday\fP()  については記述していない。 POSIX.1\-2008 では \fBgettimeofday\fP()
 は廃止予定とされており、 代わりに \fBclock_gettime\fP(2)  の使用が推奨されている。
 .SH 注意
+\fBgettimeofday\fP() が返す時刻は、システム時間の不連続な変化
+(例えば、システム管理者がシステム時間を手動で変更した場合など)
+の影響を\fI受ける\fP。単調増加するクロックが必要な場合は、
+\fBclock_gettime\fP(2) を参照してほしい。
+
 \fItimeval\fP 構造体を操作するためのマクロの説明は \fBtimeradd\fP(3)  にある。
 
 昔は \fIstruct timeval\fP のフィールドは \fIlong\fP 型であった。
@@ -168,5 +175,10 @@ SVr4, 4.3BSD に準拠する。 POSIX.1\-2001 は \fBgettimeofday\fP()  につ
 Linux において \fBsettimeofday\fP() を呼び出すときは、
 \fItz_dsttime\fP フィールドを 0 にするべきである。
 .SH 関連項目
-\fBdate\fP(1), \fBadjtimex\fP(2), \fBtime\fP(2), \fBctime\fP(3), \fBftime\fP(3),
-\fBtimeradd\fP(3), \fBcapabilities\fP(7), \fBtime\fP(7)
+\fBdate\fP(1), \fBadjtimex\fP(2), \fBclock_gettime\fP(2), \fBtime\fP(2),
+\fBctime\fP(3), \fBftime\fP(3), \fBtimeradd\fP(3), \fBcapabilities\fP(7),
+\fBtime\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。