4320/6320 Operating Systems Homework 1:

24 阅读1分钟

Download link:4320/6320 Operating Systems Homework 1:

Description

5/5 – (2 votes)

Your program must compile with gcc and execute on snowball.cs.gsu.edu! Please see cscit.cs.gsu.edu/sp/guide/sn… for more details. You may use whatever IDEs / text editors you like, but you must submit your responses on iCollege.

  1. Briefly describe the semantics of the following Unix system calls (12 Points):
    1. fork();
    1. exit();
    1. getpid();
    1. getppid();
    1. waitpid();
    1. execl();
  1. Write a C program that uses each of the above system calls at least once. Submit your .c files and screenshots of the corresponding output. Make sure that your program compiles and executes without error. (23 Points)