From 7a73162607544204032aa66cce755daf21edebda Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 24 May 2022 11:18:46 -0500 Subject: Graduate Signed-off-by: Matt Strapp --- OLD/csci4061/092120_breakout/main.c | 50 ------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 OLD/csci4061/092120_breakout/main.c (limited to 'OLD/csci4061/092120_breakout') diff --git a/OLD/csci4061/092120_breakout/main.c b/OLD/csci4061/092120_breakout/main.c deleted file mode 100644 index 8d8e08d..0000000 --- a/OLD/csci4061/092120_breakout/main.c +++ /dev/null @@ -1,50 +0,0 @@ -/* -CSci 4061 - Recitation 2 - 21st Sept 2020 -Breakout 1 -An iditoic loner's lone attempt -*/ - -#include -#include -#include -#include -#include -#include - -int main(int argc, char **argv) { - // take 'n' from the input and convert to integer - // hint: see cmd slide - if (argc < 2) { - printf("USAGE: ./main int\n"); - return -1; - } - int n = strtol(argv[1], NULL, 10); - // for i in n - // create child process - // print pid //hint: check week 2 slides - // call execl to print 'hello there' using 'echo' //hint: check recitation slide - pid_t pid; - for (int i=0; i