xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/time_h.cfg (revision d3aba68370c737a5035fef1f4c6a95a1ba0d815f)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2016 Joyent, Inc.
14# Copyright 2025 Oxide Computer Company
15#
16
17#
18# Definitions found in time.h
19#
20
21#
22# Types
23#
24
25#
26# Values.
27#
28
29#
30# Defines
31#
32define | TIME_UTC		|	| time.h	| -ALL +C11+
33define | TIME_MONOTONIC		|	| time.h	| -ALL +C11+
34define | TIME_ACTIVE		|	| time.h	| -ALL +C11+
35define | TIME_THREAD_ACTIVE	|	| time.h	| -ALL +C11+
36define | TIME_THREAD_ACTIVE_USR	|	| time.h	| -ALL +C11+
37
38#
39# Functions
40#
41# Note, we cannot add the C23 timespec_getres() here yet as we do yet have
42# compilers that can properly specify the feature test macros for C23. Once that
43# happens, we can add environment groups to cover this.
44#
45func |	timespec_get							|\
46	int								|\
47	struct timespec *; int						|\
48	time.h								|\
49	-ALL C11+
50