summaryrefslogtreecommitdiffstats
path: root/man/man3type/timeval.3type
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3type/timeval.3type')
-rw-r--r--man/man3type/timeval.3type43
1 files changed, 43 insertions, 0 deletions
diff --git a/man/man3type/timeval.3type b/man/man3type/timeval.3type
new file mode 100644
index 0000000..ab47f08
--- /dev/null
+++ b/man/man3type/timeval.3type
@@ -0,0 +1,43 @@
+.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
+.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.\"
+.TH timeval 3type 2024-05-02 "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)