OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / timegm.3
index 17bace9..6f1e2f7 100644 (file)
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
-.\" Translated Thu 3 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
+.\"*******************************************************************
 .\"
-.TH TIMEGM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH TIMEGM 3 2007\-07\-26 GNU "Linux Programmer's Manual"
 .SH 名前
 timegm, timelocal \- gmtime と localtime の逆関数
 .SH 書式
 .nf
-.B #include <time.h>
+\fB#include <time.h>\fP
 .sp
-.BI "time_t timelocal(struct tm *" tm );
+\fBtime_t timelocal(struct tm *\fP\fItm\fP\fB);\fP
 .sp
-.BI "time_t timegm(struct tm *" tm );
+\fBtime_t timegm(struct tm *\fP\fItm\fP\fB);\fP
 .sp
 .fi
 .in -4n
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR timelocal (),
-.BR timegm ():
-_BSD_SOURCE || _SVID_SOURCE
+\fBtimelocal\fP(), \fBtimegm\fP(): _BSD_SOURCE || _SVID_SOURCE
 .SH 説明
-.BR timelocal ()
-関数と
-.BR timegm ()
-関数は、それぞれ
-.BR localtime (3)
-関数と
-.BR gmtime (3)
+\fBtimelocal\fP()  関数と \fBtimegm\fP()  関数は、それぞれ \fBlocaltime\fP(3)  関数と \fBgmtime\fP(3)
 関数の逆関数である。
 .SH 準拠
-これらの関数は非標準で GNU の拡張である。
-BSD 系にも存在する。
-これらの使用は避けること。「注意」参照。
+これらの関数は非標準で GNU の拡張である。 BSD 系にも存在する。 これらの使用は避けること。「注意」参照。
 .SH 注意
-.BR timelocal ()
-関数は POSIX の標準関数
-.BR mktime (3)
-と同じものである。
-ので、これを使う理由はないはずである。
+\fBtimelocal\fP()  関数は POSIX の標準関数 \fBmktime\fP(3)  と同じものである。 ので、これを使う理由はないはずである。
 .LP
-.BR timegm ()
-を移植性があるようなかたちで実現するには、
-.B TZ
-環境変数を UTC に設定してから
-.BR mktime (3)
-を呼んで、
-.B TZ
-の値を取得すればよい。
-例えば次のようになるだろう。
-.sp
+\fBtimegm\fP()  を移植性があるようなかたちで実現するには、 \fBTZ\fP 環境変数を UTC に設定してから \fBmktime\fP(3)
+を呼んで、 \fBTZ\fP の値を取得すればよい。 例えば次のようになるだろう。
+
 .in +4n
 .nf
 #include <time.h>
@@ -98,7 +77,4 @@ time_t my_timegm (struct tm *tm)
 .fi
 .in
 .SH 関連項目
-.BR gmtime (3),
-.BR localtime (3),
-.BR mktime (3),
-.BR tzset (3)
+\fBgmtime\fP(3), \fBlocaltime\fP(3), \fBmktime\fP(3), \fBtzset\fP(3)