cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
<ctime>

Backports related to Standard header <ctime>

// or as part of:

(or automatically by including <cxxomfort/backports.hpp> / <cxxomfort/cxxomfort.hpp>)

Interfaces

Interfaces defined in this section:

Non-backport interfaces:

Notes on @c timespec

Note that the resolution on timespec::tv_nsec is limited by the system clock, and because machines may not deliver the required kind of information in machines old enough to not have implemented timespec, this function is allowed here to return zero for this field.

See Also

See also
header/ctime @ cppreference (cppreference)
File ctime.hpp