timeval - time in seconds and microseconds
Contents
Description
Describes times in seconds and microseconds.
History
POSIX.1-2001.
Library
Standard C library (libc)
Name
timeval - time in seconds and microseconds
Notes
The following headers also provide this type: <sys/resource.h>, <sys/select.h>, and <utmpx.h>.
See Also
gettimeofday(2), select(2), utimes(2), adjtime(3), futimes(3), timeradd(3), suseconds_t(3type), time_t(3type), timespec(3type) Linux man-pages 6.9.1 2024-05-02 timeval(3type)
Standards
POSIX.1-2008.
Synopsis
#include<sys/time.h>structtimeval{time_ttv_sec; /* Seconds */
suseconds_ttv_usec; /* Microseconds */
};