1de572d98SGarrett D'Amore#
2de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5de572d98SGarrett D'Amore# 1.0 of the CDDL.
6de572d98SGarrett D'Amore#
7de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10de572d98SGarrett D'Amore#
11de572d98SGarrett D'Amore
12de572d98SGarrett D'Amore#
13de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14*b7a77849SAndy Fiddaman# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
15de572d98SGarrett D'Amore#
16de572d98SGarrett D'Amore
17de572d98SGarrett D'Amore#
18de572d98SGarrett D'Amore# Definitions found in sys/time.h
19de572d98SGarrett D'Amore#
20de572d98SGarrett D'Amore
21de572d98SGarrett D'Amore#
22de572d98SGarrett D'Amore# Types.
23de572d98SGarrett D'Amore#
24de572d98SGarrett D'Amore#type | time_t | sys/timeb.h | -ALL SUS+ -SUSv4+
25de572d98SGarrett D'Amore#type | struct timeb | sys/timeb.h | -ALL SUS+ -SUSv4+
26de572d98SGarrett D'Amore
27de572d98SGarrett D'Amore#
28de572d98SGarrett D'Amore# Values.
29de572d98SGarrett D'Amore#
30de572d98SGarrett D'Amore
31de572d98SGarrett D'Amore#
32de572d98SGarrett D'Amore# Functions
33de572d98SGarrett D'Amore#
34de572d98SGarrett D'Amorefunc |	futimesat					|\
35de572d98SGarrett D'Amore	int						|\
36de572d98SGarrett D'Amore	int; const char *; const struct timeval [2]	|\
37de572d98SGarrett D'Amore	sys/time.h					|\
38de572d98SGarrett D'Amore	-SUS+ -POSIX+
39de572d98SGarrett D'Amore
40de572d98SGarrett D'Amorefunc |	utimes						|\
41de572d98SGarrett D'Amore	int						|\
42de572d98SGarrett D'Amore	const char *; const struct timeval [2]		|\
43de572d98SGarrett D'Amore	sys/time.h | -POSIX+ -XPG3+ SUS+
44*b7a77849SAndy Fiddaman
45*b7a77849SAndy Fiddamanfunc |	lutimes						|\
46*b7a77849SAndy Fiddaman	int						|\
47*b7a77849SAndy Fiddaman	const char *; const struct timeval [2]		|\
48*b7a77849SAndy Fiddaman	sys/time.h | -ALL
49*b7a77849SAndy Fiddaman
50*b7a77849SAndy Fiddamanfunc |	futimes						|\
51*b7a77849SAndy Fiddaman	int						|\
52*b7a77849SAndy Fiddaman	int; const struct timeval [2]			|\
53*b7a77849SAndy Fiddaman	sys/time.h | -ALL
54*b7a77849SAndy Fiddaman
55*b7a77849SAndy Fiddamandefine | TIMEVAL_TO_TIMESPEC | | sys/time.h | -ALL
56*b7a77849SAndy Fiddamandefine | TIMESPEC_TO_TIMEVAL | | sys/time.h | -ALL
57