OSDN Git Service

Update releases for LDP 3.68
[linuxjm/LDP_man-pages.git] / release / man3 / ctime.3
index 2e76be6..9a4a53e 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%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.
@@ -19,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
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH CTIME 3 2010\-02\-25 "" "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 1997 Hiroaki Nagoya
+.\"         all rights reserved.
+.\" Translated 1997-02-10, Hiroaki Nagoya <nagoya@is.titech.ac.jp>
+.\" Updated 1999-09-01, Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2001-10-15, Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2001-12-13, Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2002-01-03, Kentaro Shirakata <argrath@ub32.org>
+.\" Updated 2005-02-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2008-04-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.79
+.\" 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 2013\-12\-30 "" "Linux Programmer's Manual"
 .SH 名前
 asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
 localtime_r \- 日付と時刻を要素別の時刻や ASCII に変換する
@@ -85,15 +100,15 @@ _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
 .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
@@ -133,7 +148,7 @@ struct tm {
 "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,
@@ -152,7 +167,7 @@ struct tm {
 上書きされる可能性がある。 \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 バイト以上でなければならない。
@@ -210,3 +225,7 @@ POSIX.1\-2004 によると、 \fBlocaltime\fP()  はあたかも \fBtzset\fP(3)
 \fBdate\fP(1), \fBgettimeofday\fP(2), \fBtime\fP(2), \fButime\fP(2), \fBclock\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.68 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。