950b4526c7
- Remove incorrect header styles - Use export.replace where header style was previously needed - Check compilation of tests using system gcc
15 lines
271 B
C
15 lines
271 B
C
#include <time.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char** argv) {
|
|
sleep(2);
|
|
perror("sleep");
|
|
usleep(1000);
|
|
perror("usleep");
|
|
struct timespec tm = {0, 10000};
|
|
nanosleep(&tm, NULL);
|
|
perror("nanosleep");
|
|
return 0;
|
|
}
|