Discuss, Learn and be Happy דיון בשאלות

help brightness_4 brightness_7 format_textdirection_r_to_l format_textdirection_l_to_r

How many times the following C program prints yes? main() { fork();fork();printf("yes"); }

1
done
by
מיין לפי

Which of the following calls never returns an error?

1
done
by
מיין לפי

A fork system call will fail if

1
done
by
מיין לפי

If a thread invokes the exec system call

1
done
by
מיין לפי

f exec is called immediately after forking

1
done
by
מיין לפי

If a process does not call exec after forking

1
done
Explanation: The new process is purely based on fork, due to no exec command, duplication will be done.
by
מיין לפי

Signals that occur at the same time, are presented to the process

1
done
by
מיין לפי

Which of the following is not TRUE?

1
done
Explanation: A field is updated in the process table when the signal is sent.
by
מיין לפי

Signals of a given type

1
done
Explanation: The signal handler will be invoked only once.
by
מיין לפי

The three ways in which a process responds to a signal are

1
done
by
מיין לפי