https://quizack.com/system-programming/mcq/what-does-the-open-system-call-return-upon-success
Answer: A positive integer which is the file descriptor.
Note: This Question is unanswered, help us to find answer for this one
Is This Question Helpful?
More System Programming MCQ Questions
If a process executes the following C code on a Linux system, what is the outcome?
On Linux, the pthread_create interface does not use the fork system call to create threads.
Which shell parameter contains the return value of the previously executed shell command?
Which call is used to initiate a socket connection to a target address?
Which gcc option can be used to generate a position independent code on a Linux system?
What does the following function return? Class retVal = [self class]; if ([retVal class] != [NSObject class]) { while ([retVal superclass] != [NSObject class]) retVal = [retVal superclass]; } return retVal;
In UNIX, a program requires higher privileges in order to do which of the following?
Which of the following could the fork() command return to the child process?
Given: int s, l; struct sockaddr_un sock_struct; Choose the option that corrects the following line: bind(s, sock_struct, l);
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?