File: timeval.3type

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (41 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH timeval 3type 2025-05-17 "Linux man-pages (unreleased)"
.SH NAME
timeval \- time in seconds and microseconds
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.EX
.B #include <sys/time.h>
.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 <sys/resource.h> ,
.IR <sys/select.h> ,
and
.IR <utmpx.h> .
.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)