OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man3 / ctime.3
index 5bdace9..4aff3d5 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
 .\"
 .\" 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 に変換する
 .SH 名前
 asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
 localtime_r \- 日付と時刻を要素別の時刻や ASCII に変換する
@@ -100,15 +100,15 @@ _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
 .in +4n
 .nf
 struct tm {
 .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;        /* 秒 (0\-60) */
+    int tm_min;        /* 分 (0\-59) */
+    int tm_hour;       /* 時間 (0\-23) */
+    int tm_mday;       /* 月内の日付 (1\-31) */
+    int tm_mon;        /* 月 (0\-11) */
+    int tm_year;       /* 年 \- 1900 */
+    int tm_wday;       /* 曜日 (0\-6, 日曜 = 0) */
+    int tm_yday;       /* 年内通算日 (0\-365, 1 月 1 日 = 0) */
+    int tm_isdst;      /* 夏時間 */
 };
 .fi
 .in
 };
 .fi
 .in
@@ -148,7 +148,7 @@ struct tm {
 "Wed Jun 30 21:49:08 1993\en"
 .RE
 .sp
 "Wed Jun 30 21:49:08 1993\en"
 .RE
 .sp
-という形式の NULL 終端された文字列へ変換する。 曜日の略称は "Sun", "Mon", "Tue", "Wed", "Thu", "Fri",
+という形式のヌル終端された文字列へ変換する。 曜日の略称は "Sun", "Mon", "Tue", "Wed", "Thu", "Fri",
 "Sat" である。 月の略称は "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
 "Sep", "Oct", "Nov", "Dec" である。 返り値は、静的 (static) に割り当てられた文字列へのポインタである。
 この文字列は、日付・時刻関数のいずれかが呼び出されると上書きされることがある。 またこの関数は大域変数 \fItzname\fP, \fItimezone\fP,
 "Sat" である。 月の略称は "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
 "Sep", "Oct", "Nov", "Dec" である。 返り値は、静的 (static) に割り当てられた文字列へのポインタである。
 この文字列は、日付・時刻関数のいずれかが呼び出されると上書きされることがある。 またこの関数は大域変数 \fItzname\fP, \fItimezone\fP,
@@ -167,7 +167,7 @@ struct tm {
 上書きされる可能性がある。 \fBlocaltime_r\fP()  も同様だが、 データはユーザーが用意した構造体に格納される。 この関数は
 \fItzname\fP, \fItimezone\fP, and \fIdaylight\fP を設定する必要はない。
 .PP
 上書きされる可能性がある。 \fBlocaltime_r\fP()  も同様だが、 データはユーザーが用意した構造体に格納される。 この関数は
 \fItzname\fP, \fItimezone\fP, and \fIdaylight\fP を設定する必要はない。
 .PP
-関数 \fBasctime\fP()  は、要素別の時刻 \fItm\fP を \fBctime\fP()  と同じ形式の NULL 終端された文字列へ変換する。
+関数 \fBasctime\fP()  は、要素別の時刻 \fItm\fP を \fBctime\fP()  と同じ形式のヌル終端された文字列へ変換する。
 返り値は静的に割り当てられた文字列へのポインタである。この文字列は、 日付・時刻関数のいずれかが呼び出されると上書きされることがある。
 リエントラント版である \fBasctime_r\fP()  も同様だが、 文字列はユーザーが用意したバッファに格納される。バッファのサイズは 少なくとも
 26 バイト以上でなければならない。
 返り値は静的に割り当てられた文字列へのポインタである。この文字列は、 日付・時刻関数のいずれかが呼び出されると上書きされることがある。
 リエントラント版である \fBasctime_r\fP()  も同様だが、 文字列はユーザーが用意したバッファに格納される。バッファのサイズは 少なくとも
 26 バイト以上でなければならない。
@@ -226,6 +226,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 この文書について
 \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.53 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。