Files
RedBear-OS/tests/time/time.c
T
Jeremy Soller 950b4526c7 - Disable output of empty header files
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00

14 lines
272 B
C

#include <time.h>
#include <stdio.h>
int main(int argc, char** argv) {
struct timespec tm = {0, 0};
clock_gettime(CLOCK_REALTIME, &tm);
perror("clock_gettime");
time(NULL);
perror("time");
clock_t c = clock();
perror("clock");
return 0;
}