JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... gmtime(const time_t * timep ); struct tm *gmtime_r(const time_t *restrict timep , struct tm *restrict result ); struct tm *localtime(const time_t * timep ); struct tm *localtime_r(const time_t *restrict timep , struct tm *restrict result ); time_t mktime( ... struct tm * tm ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): asctime_r (), ctime_r (), gmtime_r (), localtime_r (): _POSIX_C_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE 説明 関数 ctime (), gmtime (), localtime () は t ... 刻を引数とします。 要素別の時刻は tm (3type)で定義されている tm 構造体に保持されます。 ctime( t ) 関数の呼び出しは、 asctime(localtime( t )) と等価です。カレンダー時刻 t を "Wed Jun 30 21:49:08 1993\n" という形式のヌル終端された文字列へ変換します。曜日の略称 ... ... ibc 2.19 から: _DEFAULT_SOURCE glibc 2.19 とそれ以前: _BSD_SOURCE || _SVID_SOURCE 説明 関数 timelocal () と timegm () は、 localtime (3) と gmtime (3) の逆関数です。どちらの関数も要素別の時刻を取得し、カレンダ時刻(1970-01-01 00:00:00 +0000, UTCの紀元からの ... elocal () 関数は POSIX の標準関数 mktime (3) と同じものです。そのため、これを使う理由はないはずです。 関連項目 gmtime (3), localtime (3), mktime (3), tzset (3) ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。