Add the clock_gettime syscall wrapper and tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/include/llvm-libc-types/time_t.h | ||
---|---|---|
14 ↗ | (On Diff #463354) | A new type should be defined in its own header file - we follow the rule of exactly one type defined in a complete header file. By complete header file, we mean that including it will pull dependent macros and types as well and make the type definition complete (the type itself can be of an incomplete type, for example FILE.) |
libc/src/time/clock_gettime.cpp | ||
---|---|---|
27 | What is this for? |
libc/src/time/clock_gettime.cpp | ||
---|---|---|
27 | testing, I forgot to delete it. |
What is this for?