.TH TIMEGM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.\"O .SH NAME
.\"O timegm, timelocal \- inverses of gmtime and localtime
-.SH ̾Á°
-timegm, timelocal \- gmtime ¤È localtime ¤ÎµÕ´Ø¿ô
+.SH 名前
+timegm, timelocal \- gmtime と localtime の逆関数
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.nf
.B #include <time.h>
.sp
.in -4n
.\"O Feature Test Macro Requirements for glibc (see
.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+glibc 向けの機能検査マクロの要件
.RB ( feature_test_macros (7)
-»²¾È):
+参照):
.in
.sp
.BR timelocal (),
.BR timegm ():
_BSD_SOURCE || _SVID_SOURCE
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O The functions
.\"O .BR timelocal ()
.\"O and
.\"O and
.\"O .BR gmtime (3).
.BR timelocal ()
-´Ø¿ô¤È
+関数と
.BR timegm ()
-´Ø¿ô¤Ï¡¢¤½¤ì¤¾¤ì
+関数は、それぞれ
.BR localtime (3)
-´Ø¿ô¤È
+関数と
.BR gmtime (3)
-´Ø¿ô¤ÎµÕ´Ø¿ô¤Ç¤¢¤ë¡£
+関数の逆関数である。
.\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
.\"O These functions are nonstandard GNU extensions
.\"O that are also present on the BSDs.
.\"O Avoid their use; see NOTES.
-¤³¤ì¤é¤Î´Ø¿ô¤ÏÈóɸ½à¤Ç GNU ¤Î³ÈÄ¥¤Ç¤¢¤ë¡£
-BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£
-¤³¤ì¤é¤Î»ÈÍѤÏÈò¤±¤ë¤³¤È¡£¡ÖÃí°Õ¡×»²¾È¡£
+これらの関数は非標準で GNU の拡張である。
+BSD 系にも存在する。
+これらの使用は避けること。「注意」参照。
.\"O .SH NOTES
-.SH Ãí°Õ
+.SH 注意
.\"O The
.\"O .BR timelocal ()
.\"O function is equivalent to the POSIX standard function
.\"O .BR mktime (3).
.\"O There is no reason to ever use it.
.BR timelocal ()
-´Ø¿ô¤Ï POSIX ¤Îɸ½à´Ø¿ô
+関数は POSIX の標準関数
.BR mktime (3)
-¤ÈƱ¤¸¤â¤Î¤Ç¤¢¤ë¡£
-¤Î¤Ç¡¢¤³¤ì¤ò»È¤¦Íýͳ¤Ï¤Ê¤¤¤Ï¤º¤Ç¤¢¤ë¡£
+と同じものである。
+ので、これを使う理由はないはずである。
.LP
.\"O For a portable version of
.\"O .BR timegm (),
.\"O .BR TZ .
.\"O Something like
.BR timegm ()
-¤ò°Ü¿¢À¤¬¤¢¤ë¤è¤¦¤Ê¤«¤¿¤Á¤Ç¼Â¸½¤¹¤ë¤Ë¤Ï¡¢
+を移植性があるようなかたちで実現するには、
.B TZ
-´Ä¶ÊÑ¿ô¤ò UTC ¤ËÀßÄꤷ¤Æ¤«¤é
+環境変数を UTC に設定してから
.BR mktime (3)
-¤ò¸Æ¤ó¤Ç¡¢
+を呼んで、
.B TZ
-¤ÎÃͤò¼èÆÀ¤¹¤ì¤Ð¤è¤¤¡£
-Î㤨¤Ð¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¤À¤í¤¦¡£
+の値を取得すればよい。
+例えば次のようになるだろう。
.\"O
.sp
.in +4n
.fi
.in
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR gmtime (3),
.BR localtime (3),
.BR mktime (3),