Question: Questions are referring to commands in a Linux Virtual Machine terminal and using C language. 1. Give brief, precise answers. (e) Mark each word as
Questions are referring to commands in a Linux Virtual Machine terminal and using C language.
1. Give brief, precise answers.
(e) Mark each word as an executable utility (EU), a C library function (LF), or a system call (SC):
date ____
ls _____
read _____
fork _____
exit _____
isspace _____
_exit _____
dup2 _____
printf _____
getchar _____
(f) (Buffer size) Describe briefly and precisely the main reason why an I/O intensive user program or a stdio library function will suffer in performance when using a very small buffer.
(g) How many processes will be created in total (including the initial parent process) by the following code fragment? Explain your answer. Assume N to be a positive const int.
for (k = 0; k < N; k++) {
fork();
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
