.\" Copyright (c) 2020-2022 by Alejandro Colomar .\" and Copyright (c) 2020 by Michael Kerrisk .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" .TH timeval 3type 2023-10-31 "Linux man-pages 6.7" .SH NAME timeval \- time in seconds and microseconds .SH LIBRARY Standard C library .RI ( libc ) .SH SYNOPSIS .EX .B #include .P .B struct timeval { .BR " time_t tv_sec;" " /* Seconds */" .BR " suseconds_t tv_usec;" " /* Microseconds */" .B }; .EE .SH DESCRIPTION Describes times in seconds and microseconds. .SH STANDARDS POSIX.1-2008. .SH HISTORY POSIX.1-2001. .SH NOTES The following headers also provide this type: .IR , .IR , and .IR . .SH SEE ALSO .BR gettimeofday (2), .BR select (2), .BR utimes (2), .BR adjtime (3), .BR futimes (3), .BR timeradd (3), .BR suseconds_t (3type), .BR time_t (3type), .BR timespec (3type)