timeval3type
Time in seconds and microseconds
Usage
#include <sys/time.h>
struct timeval { time_t tv_sec; /* Seconds */ suseconds_t tv_usec; /* Microseconds */ };
Library
Standard C library (libc)
Overview
Describes times in seconds and microseconds.
Notes
The following headers also provide this type: <sys/resource.h>, <sys/select.h>, and <utmpx.h>.
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.