Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
int main(int c, char **v)
|
||||
{
|
||||
while (--c > 1 && !fork());
|
||||
sleep(c = atoi(v[c]));
|
||||
printf("%d\n", c);
|
||||
wait(0);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
% ./a.out 5 1 3 2 11 6 4
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
11
|
||||
Loading…
Add table
Add a link
Reference in a new issue