$manlookup

timeval

(3type)

time in seconds and microseconds

Library functionsmanpages-dev 6.9.1-1
#include <sys/time.h> struct timeval { time_t tv_sec; /* Seconds */ suseconds_t tv_usec; /* Microseconds */ };

LIBRARY

Standard C library (libc)

DESCRIPTION

Describes times in seconds and microseconds.

STANDARDS

POSIX.1-2008.

HISTORY

POSIX.1-2001.

NOTES

The following headers also provide this type: <sys/resource.h>, <sys/select.h>, and <utmpx.h>.

See also