-.BI "int getdate_r(const char *" string ", struct tm *" res );
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The function
-.\"O .BR getdate ()
-.\"O converts a string representation of a date and time,
-.\"O contained in the buffer pointed to by
-.\"O .IR string ,
-.\"O into a broken-down time.
-.BR getdate ()
-´Ø¿ô¤Ï¡¢
-.I string
-¤¬»Ø¤¹¥Ð¥Ã¥Õ¥¡¤Ë³ÊǼ¤µ¤ì¤¿Ê¸»úÎóɽ¸½¤ÎÆüÉդȻþ¹ï¤ò¡¢
-Í×ÁÇÊ̤λþ¹ï (broken-down time) ¤ËÊÑ´¹¤¹¤ë¡£
-.\"O The broken-down time is stored in a
-.\"O .I tm
-.\"O structure, and a pointer to this
-.\"O structure is returned as the function result.
-.\"O This
-.\"O .I tm
-.\"O structure is allocated in static storage,
-.\"O and consequently it will be overwritten by further calls to
-.\"O .BR getdate ().
-Í×ÁÇÊ̤λþ¹ï¤Ï
-.I tm
-¹½Â¤ÂΤ˳ÊǼ¤µ¤ì¡¢¤³¤Î¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤¬´Ø¿ô¤Î·ë²Ì¤È¤·¤ÆÊÖ¤µ¤ì¤ë¡£
-¤³¤Î
-.I tm
-¹½Â¤ÂΤÏÀÅŪ¤Ê¥á¥â¥êÎΰè¤Ë¤¢¤ê¡¢
-.BR getdate ()
-¤Î¤½¤ì°Ê¹ß¤Î¸Æ¤Ó½Ð¤·¤Ç¾å½ñ¤¤µ¤ì¤ë¤«¤â¤µ¤ì¤Ê¤¤¡£
-.\"O
-.PP
-.\"O In contrast to
-.\"O .BR strptime (3),
-.\"O (which has a
-.\"O .I format
-.\"O argument),
-.\"O .BR getdate ()
-.\"O uses the formats found in the file
-.\"O whose full pathname is given in the environment variable
-.\"O .BR DATEMSK .
-.\"O The first line in the file that matches the given input string
-.\"O is used for the conversion.
-.RI ( format
-°ú¤¿ô¤Ç¥Õ¥©¡¼¥Þ¥Ã¥È¤ò»ØÄꤹ¤ë)
-.BR strptime (3)
-¤È¤Ï°ã¤¤¡¢
-.BR getdate ()
-¤Ï´Ä¶ÊÑ¿ô
-.B DATEMSK
-¤Ç»ØÄꤵ¤ì¤¿¥Õ¥ë¥Ñ¥¹Ì¾¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤¤Æ¤¢¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍѤ¤¤ë¡£
-.\"O
-.PP
-.\"O The matching is done case insensitively.
-.\"O Superfluous whitespace, either in the pattern or in the string to
-.\"O be converted, is ignored.
-¥Þ¥Ã¥Á¤ÎºÝ¤Ë¤ÏÂçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤·¤Ê¤¤¡£
-¥Ñ¥¿¡¼¥óÃæ¤Ç¤âÊÑ´¹¤µ¤ì¤ëʸ»úÎóÃæ¤Ç¤â¡¢Í¾Ê¬¤Ê¶õÇòʸ»ú¤Ï̵»ë¤µ¤ì¤ë¡£
-.\"O
-.PP
-.\"O The conversion specifications that a pattern can contain are those given for
-.\"O .BR strptime (3).
-.\"O One more conversion specification is specified in POSIX.1-2001:
-¥Ñ¥¿¡¼¥ó¤Ë»ØÄê¤Ç¤¤ëÊÑ´¹»ØÄê¤Ï¡¢
-.BR strptime (3)
-¤Î¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£
-POSIX.1-2001 ¤Ç¤Ï°ì¤Ä¤ÎÊÑ´¹»ØÄ꤬Äɲäǵ¬Äꤵ¤ì¤Æ¤¤¤ë¡£
-.TP
-.B %Z
-.\"O Timezone name.
-.\"O This is not implemented in glibc.
-¥¿¥¤¥à¥¾¡¼¥ó¤Î̾Á°¡£
-glibc ¤Ç¤Ï¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
+.in -4n
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
+.in
+.sp
+\fBgetdate\fP():
+.ad l
+.RS 4
+_XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
+.br
+\fBgetdate_r\fP():
+.ad l
+.RS 4
+_GNU_SOURCE
+.RE
+.ad
+.SH 説明
+\fBgetdate\fP() 関数は、 \fIstring\fP が指すバッファに格納された文字列表現の日付と時刻を、 要素別の時刻 (broken\-down
+time) に変換する。 要素別の時刻は \fItm\fP 構造体に格納され、この構造体へのポインタが関数の結果として返される。 この \fItm\fP
+構造体は静的なメモリ領域にあり、 \fBgetdate\fP() のそれ以降の呼び出しで上書きされるかもされない。
+
+(\fIformat\fP 引き数でフォーマットを指定する) \fBstrptime\fP(3) とは違い、 \fBgetdate\fP() は環境変数
+\fBDATEMSK\fP で指定されたフルパス名のファイルに書いてあるフォーマットを用いる。
+
+マッチの際には大文字小文字を区別しない。 パターン中でも変換される文字列中でも、余分な空白文字は無視される。
+
+パターンに指定できる変換指定は、 \fBstrptime\fP(3) のものと同じである。 POSIX.1\-2001
+では一つの変換指定が追加で規定されている。
+.TP
+\fB%Z\fP
+タイムゾーンの名前。 glibc では実装されていない。