OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / release / man3 / ctime.3
index 5ca4bff..b6d41cf 100644 (file)
@@ -50,7 +50,7 @@
 .\" Updated 2008-08-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.05
 .\" Updated 2008-11-10, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.13
 .\"
-.TH CTIME 3 2010\-02\-25 "" "Linux Programmer's Manual"
+.TH CTIME 3 2013\-12\-30 "" "Linux Programmer's Manual"
 .SH 名前
 asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
 localtime_r \- 日付と時刻を要素別の時刻や ASCII に変換する
@@ -89,26 +89,30 @@ _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
 .RE
 .ad
 .SH 説明
-関数 \fBctime\fP(), \fBgmtime\fP(), \fBlocaltime\fP()  は \fItime_t\fP 型のカレンダー時刻を引き数にとる。
-引き数が絶対値として解釈される場合は、時刻紀元 (Epoch; 1970\-01\-01 00:00:00 +0000 (UTC))
-からの経過秒数と解釈される。
+The \fBctime\fP(), \fBgmtime\fP()  and \fBlocaltime\fP()  functions all take an
+argument of data type \fItime_t\fP, which represents calendar time.  When
+interpreted as an absolute time value, it represents the number of seconds
+elapsed since the Epoch, 1970\-01\-01 00:00:00 +0000 (UTC).
 .PP
-関数 \fBasctime\fP()  と \fBmktime\fP()  は 年・月・日などに分離された要素別の時刻を引き数とする。
+The \fBasctime\fP()  and \fBmktime\fP()  functions both take an argument
+representing broken\-down time, which is a representation separated into
+year, month, day, and so on.
 .PP
-要素別の時刻は \fI<time.h>\fP で以下のように定義されている \fItm\fP 構造体に保持される。
+Broken\-down time is stored in the structure \fItm\fP, which is defined in
+\fI<time.h>\fP as follows:
 .sp
 .in +4n
 .nf
 struct tm {
-    int tm_sec;         /* 秒 */
-    int tm_min;         /* 分 */
-    int tm_hour;        /* 時間 */
-    int tm_mday;        /* 日 */
-    int tm_mon;         /* 月 */
-    int tm_year;        /* 年 */
-    int tm_wday;        /* 曜日 */
-    int tm_yday;        /* 年内通算日 */
-    int tm_isdst;       /* 夏時間 */
+    int tm_sec;    /* Seconds (0\-60) */
+    int tm_min;    /* Minutes (0\-59) */
+    int tm_hour;   /* Hours (0\-23) */
+    int tm_mday;   /* Day of the month (1\-31) */
+    int tm_mon;    /* Month (0\-11) */
+    int tm_year;   /* Year \- 1900 */
+    int tm_wday;   /* Day of the week (0\-6, Sunday = 0) */
+    int tm_yday;   /* Day in the year (0\-365, 1 Jan = 0) */
+    int tm_isdst;  /* Daylight saving time */
 };
 .fi
 .in
@@ -226,6 +230,6 @@ POSIX.1\-2004 によると、 \fBlocaltime\fP()  はあたかも \fBtzset\fP(3)
 \fBdifftime\fP(3), \fBstrftime\fP(3), \fBstrptime\fP(3), \fBtimegm\fP(3), \fBtzset\fP(3),
 \fBtime\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。