1timeval(3type)                                                  timeval(3type)
2
3
4

NAME

6       timeval - time in seconds and microseconds
7

LIBRARY

9       Standard C library (libc)
10

SYNOPSIS

12       #include <sys/time.h>
13
14       struct timeval {
15           time_t       tv_sec;   /* Seconds */
16           suseconds_t  tv_usec;  /* Microseconds */
17       };
18

DESCRIPTION

20       Describes times in seconds and microseconds.
21

STANDARDS

23       POSIX.1-2008.
24

HISTORY

26       POSIX.1-2001.
27

NOTES

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

SEE ALSO

33       gettimeofday(2), select(2), utimes(2), adjtime(3),  futimes(3),  timer‐
34       add(3), suseconds_t(3type), time_t(3type), timespec(3type)
35
36
37
38Linux man-pages 6.05              2023-03-30                    timeval(3type)
Impressum