time.h#

Types#

TypeStatusC23 SectionPOSIX Docs
clock_tImplemented7.29.1 POSIX.1-2024
clockid_tImplemented–POSIX.1-2024
errno_tImplementedK.3.8 –
locale_tImplemented–POSIX.1-2024
pid_tImplemented–POSIX.1-2024
rsize_tImplementedK.3.8 –
size_tImplemented7.29.1 POSIX.1-2024
struct itimerspecImplemented–POSIX.1-2024
struct timespecImplemented7.29.1 POSIX.1-2024
struct tmImplemented7.29.1 POSIX.1-2024
time_tImplemented7.29.1 POSIX.1-2024
timer_tImplemented–POSIX.1-2024

Global Variables#

Global VariableStatusC23 SectionPOSIX Docs
daylightImplemented–POSIX.1-2024
getdate_errNot Implemented–POSIX.1-2024
timezoneImplemented–POSIX.1-2024
tznameImplemented–POSIX.1-2024

Macros#

MacroStatusC23 SectionPOSIX Docs
CLOCKS_PER_SECImplemented7.29.1 POSIX.1-2024
CLOCK_MONOTONICImplemented–POSIX.1-2024
CLOCK_PROCESS_CPUTIME_IDImplemented–POSIX.1-2024
CLOCK_REALTIMEImplemented–POSIX.1-2024
CLOCK_THREAD_CPUTIME_IDImplemented–POSIX.1-2024
NULLImplemented7.29.1 POSIX.1-2024
TIMER_ABSTIMEImplemented–POSIX.1-2024
TIME_UTCImplemented7.29.1 POSIX.1-2024

Functions#

FunctionStatusC23 SectionPOSIX Docs
asctimeImplemented7.27.2.1 POSIX.1-2024
asctime_rImplemented–POSIX.1-2024
clockImplemented7.27.2.1 POSIX.1-2024
clock_getcpuclockidImplemented–POSIX.1-2024
clock_getresImplemented–POSIX.1-2024
clock_gettimeImplemented–POSIX.1-2024
clock_nanosleepImplemented–POSIX.1-2024
clock_settimeImplemented–POSIX.1-2024
ctimeImplemented7.27.2.2 POSIX.1-2024
ctime_rImplemented–POSIX.1-2024
difftimeImplemented7.27.2.2 POSIX.1-2024
getdateNot Implemented–POSIX.1-2024
gmtimeImplemented7.27.2.3 POSIX.1-2024
gmtime_rImplemented–POSIX.1-2024
localtimeImplemented7.27.2.4 POSIX.1-2024
localtime_rImplemented–POSIX.1-2024
mktimeImplemented7.27.2.3 POSIX.1-2024
nanosleepImplemented–POSIX.1-2024
strftimeImplemented7.27.3.5 POSIX.1-2024
strftime_lImplemented–POSIX.1-2024
strptimeImplemented–POSIX.1-2024
timeImplemented7.27.2.4 POSIX.1-2024
timer_createImplemented–POSIX.1-2024
timer_deleteImplemented–POSIX.1-2024
timer_getoverrunImplemented–POSIX.1-2024
timer_gettimeImplemented–POSIX.1-2024
timer_settimeImplemented–POSIX.1-2024
timespec_getImplemented7.27.2.5 –
timespec_getresNot Implemented7.29.2.7 POSIX.1-2024
tzsetImplemented–POSIX.1-2024