subject
Engineering, 12.03.2020 22:50 tsmoothb15851

A) What is it doing?b) Identify all the system callsc) Indicate what output it will produce to the consoled) For each system call, say what it does and how it changes the state of the process if at all. void main(){pid_t pid, mypid;pid = fork();if (pid<0) {printf("Error, fork failed\n");exit(0);}else if (pid==0) {mypid = getpid();printf("Child process pid is %d\n",mypid);sleep(10);exit(0);} else {mypid=getpid();wait(NULL);printf(" Parent process pid is %d\n",mypid);}}

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:20
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
A) What is it doing?b) Identify all the system callsc) Indicate what output it will produce to the c...
Questions
Questions on the website: 13722359