Debian Codegraph @

upstream/debian-trixie/man3/timeval.3type

raw
1 .\" Copyright (c) 2020-2022 by Alejandro Colomar <[email protected]>
2 .\" and Copyright (c) 2020 by Michael Kerrisk <[email protected]>
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .\"
7 .TH timeval 3type 2024-05-02 "Linux man-pages 6.9.1"
8 .SH NAME
9 timeval \- time in seconds and microseconds
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc )
13 .SH SYNOPSIS
14 .EX
15 .B #include <sys/time.h>
16 .P
17 .B struct timeval {
18 .BR " time_t tv_sec;" " /* Seconds */"
19 .BR " suseconds_t tv_usec;" " /* Microseconds */"
20 .B };
21 .EE
22 .SH DESCRIPTION
23 Describes times in seconds and microseconds.
24 .SH STANDARDS
25 POSIX.1-2008.
26 .SH HISTORY
27 POSIX.1-2001.
28 .SH NOTES
29 The following headers also provide this type:
30 .IR <sys/resource.h> ,
31 .IR <sys/select.h> ,
32 and
33 .IR <utmpx.h> .
34 .SH SEE ALSO
35 .BR gettimeofday (2),
36 .BR select (2),
37 .BR utimes (2),
38 .BR adjtime (3),
39 .BR futimes (3),
40 .BR timeradd (3),
41 .BR suseconds_t (3type),
42 .BR time_t (3type),
43 .BR timespec (3type)