How do you add (append) a file “file1” to the example.tar file
How do you add (append) a file “file1” to the example.tar file
What is output of the following program? int main() { fork(); fork(); fork(); if
What is output of the following program? int main() { fork(); fork(); fork(); if (wait(0) == -1) printf(“leaf childn”); }
What is the output of this program? #include #include #include #include int main
What is the output of this program? #include #include #include #include int main() { int s_id; int *ptr; s_id = shm_open(“shared_mem”,O_CREAT|O_RDWR,0666); if(s_id == -1)…
On which system call, this program (process) waits until the server responds? #i
On which system call, this program (process) waits until the server responds? #include #include #include #include int main() { int fd_client,fd, len; struct sockaddr_in…
What is the output of this program? #include #include int main() { int fd[2]; in
What is the output of this program? #include #include int main() { int fd[2]; int count; char buffer[6]; if( pipe(fd) != 0) perror(“pipe”); memset(buffer,’