gmtime
提供:cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <time.h>
|
||
世界協定時刻(UTC)で表され、カレンダー時間にtime_t値としてエポックからの経過時間を与えられたに変換.
Original:
Converts given time since epoch as time_t value into calendar time, expressed in Coordinated Universal Time (UTC).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
| time | - | 変換するtime_t型のオブジェクトへのポインタ
Original: pointer to a time_t object to convert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
成功したのか、そうでなければtm上の静的内部NULLオブジェクトへのポインタ。構造はgmtime、とlocaltime、ctime間で共有することができ、各呼び出しで上書きされるかもしれません.
Original:
pointer to a static internal tm object on success, or NULL otherwise. The structure may shared between gmtime, localtime, and ctime and may be overwritten on each invocation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] ノート
この関数は、スレッドセーフではないかもしれません.
Original:
This function may not be thread-safe.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
POSIXは引数が大きすぎるため、それが失敗した場合、この関数はerrnoにEOVERFLOW設定している必要があります.
Original:
POSIX requires that this function sets errno to EOVERFLOW if it fails because the argument is too large.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| 現地時刻で表したカレンダー時刻をエポックからの経過時間に変換します Original: converts time since epoch to calendar time expressed as local time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| C++ documentation for gmtime
| |