mirror of https://git.qorg11.net/k9core.git
sleep
This commit is contained in:
parent
0f8f9dc363
commit
0d9b8f2551
|
@ -0,0 +1,15 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
if(argc == 1)
|
||||
{
|
||||
printf("missing opperand\n");
|
||||
}
|
||||
|
||||
sleep(atoi(argv[1]));
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue