To build this program run:
make
To run:
./runsim [n] < testing.data
To clean up run:
make clean
-
Had trouble with gargled print output and with extra lines being read from stdin. This was fixed after I had child processes start executing new processes.
-
Also learning new c functions was time consuming. I learned new c functions by reading the robbins textbook, man pages, and various other sources.
I learned a lot in this assignment.
Below is my git log (in oneline format):
- 5885207 Add getopt()
- 3842658 Edit runsim.c header comment
- cab6a06 Clean up testsim.c
- ad32ece Add get_argv(), develop testim.c, cleanup runsim.c
- bf0e4ed Add exec to runsim
- 2b02568 Add runsim.c, testing.data, testsim.c, Edit makefile
- 320f898 Add r_wait function
- 256c1b1 Initial commit