hw1.pdf - Georgia State University CSc 4320\/6320 Operating Systems Spring 2019 Programming Homework 1 Due Time 11:59 PM February 8 Objective To

hw1.pdf - Georgia State University CSc 4320/6320 Operating...

This preview shows page 1 - 2 out of 2 pages.

Georgia State University CSc 4320/6320 Operating Systems Spring 2019 Programming Homework 1 Due Time: 11:59 PM, February 8 Objective: To understand and experiment with process creation in Linux. Problem Statement: Write a C program that meets the requirement in Programming Problem 3.21 in the textbook. In addition, your program should also display the process IDs of both the parent and child processes. Follow the code in Figure 3.34 to print the process IDs. Steps: Download the incomplete source file hw1.c from iCollege. The incomplete code obtains the input value (starting number of Collatz sequence) and assigns it to variable n . Complete the code Compile the C source file using gcc (see screenshot 1 below)
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture