cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
Classes | Namespaces
ctime.hpp File Reference

Backports for features in ctime. More...

Classes

struct  timespec
 Struct timespec, from POSIX / C++17. Basically it stores a time_t value plus an offset in nanoseconds, where available. More...
 
struct  tm_time
 A storage-only class to store the time component of a struct std::tm . More...
 
struct  tm_date
 A storage-only class to store the date component of a struct std::tm . More...
 

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::cxxostd
 Backports made available by cxxomfort.
 

Functions

int timespec_get (struct timespec *ts, int base)
 Returns timespec information from the system clock and writes it into ts . More...
 

Detailed Description

Backports for features in ctime.

<ctime>:

Class Documentation

◆ cxxomfort::cxxostd::timespec

struct cxxomfort::cxxostd::timespec

Struct timespec, from POSIX / C++17. Basically it stores a time_t value plus an offset in nanoseconds, where available.

C++17 Backports:
timespec, from POSIX.
See also
chrono/c/timespec @ cppreference