os_posix.ipp
Go to the documentation of this file.
inline std::tm
make_gmtime( std::time_t t )
{
std::tm res;
gmtime_r( &t, &res );
return res;
}
inline std::tm
make_localtime( std::time_t t )
{
std::tm res;
localtime_r( &t, &res );
return res;
}
make_localtime
std::tm make_localtime(std::time_t t)
Definition: os_posix.ipp:12
make_gmtime
std::tm make_gmtime(std::time_t t)
Definition: os_posix.ipp:2