1 #define _POSIX_C_SOURCE 200809L
6 int main(int argc
, char** argv
) {
10 for(i
= 1; i
< argc
; i
++) {
11 double s
= strtod(argv
[i
], &end
);
27 long long ns
= (s
- (double) sec
) * 1000000000.f
;
28 nanosleep(&(struct timespec
) { .tv_sec
= sec
, .tv_nsec
= ns
}, NULL
);