Correct Answer: line 21: if (my_sock < 0) {
Explanation:
Note: This Question is unanswered, help us to find answer for this one
System Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More System Programming MCQ Questions
Thrashing caused by loading a large file can be reduced by mapping the file to memory due to which of the following features?
Which of the following best describes the purpose of the unlink() call?
The ioctl() function is used to interact with which of the following?
Using two resident processes on a PC and a Unix box, you are streaming unbuffered the contents of a text-file byte by byte from the PC to the Unix box where it is written byte by byte to the local hard disk. Eyeing the written file it is obvious that it is not quite right. You have likely run into which problem?
Given: int s, l; struct sockaddr_un sock_struct; Choose the option that corrects the following line: bind(s, sock_struct, l);
How do threads created using pthread library share data between themselves efficiently?
Which segment within the process address space are unique to each thread?
What is the network byte order in Unix?
Which gcc option can be used to generate a position independent code on a Linux system?
Which call is used to initiate a socket connection to a target address?