1
0
Fork
You've already forked clock.h
0
Tiny header-only library with cross-platform time functions
  • C 100%
2025年08月17日 12:08:17 +05:00
clock.h add CLOCKDEF 2025年08月17日 12:08:17 +05:00
LICENSE bump license and add it to the header 2025年05月29日 11:02:01 +05:00
README.md put declarations and definitions in different include guards. print an error when _POSIX_C_SOURCE is too old 2025年06月10日 14:35:46 +05:00

clock.h

Tiny header-only library with cross-platform time functions. _POSIX_C_SOURCE >= 200112L is required on linux.

Honestly, I'm curious as to why something like this does not exist in the C library in the first place.