Dmitry Shalnoff's Git Repository
/
ETG_Helmet
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[ETG_Helmet]
/
SOFTWARE
/
UTILS
/
usleep
/
main.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <time.h>
4
5
int main(int argc, char **argv) {
6
if (argc != 2){
7
printf("Usage : %s duration\n", argv[0]);
8
} else {
9
usleep(atoi(argv[1]));
10
}
11
exit(0);
12
}
Contact me:
dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717