This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Time-specification structure
#include <time.h> struct timespec { time_t tv_sec; long tv_nsec; }
The timespec structure specifies a time in seconds and nanoseconds. The members include:
nsec2timespec(), timespec2nsec()