Date and Time Functions

Source location

  • The main source for time functions is located at: libc/src/time

Implementation Status

<Func>

Linux

Windows

MacOS

Embedded

GPU

x86_64

aarch64

aarch32

riscv64/riscv32

x86_64

aarch64

x86_64

aarch64

aarch32

riscv32

AMD

nVidia

asctime

asctime_r

ctime

ctime_r

clock

clock_getcpuclockid

clock_getres

clock_gettime

clock_nanosleep

clock_settime

ctime

ctime_r

difftime

getdate

gettimeofday

gmtime

gmtime_r

localtime

localtime_r

mktime

nanosleep

strftime

strptime

time

timer_create

timer_delete

timer_gettime

timer_getoverrun

timer_settime

tzset