Which of the following system call uses file descriptor as an argument?

Trang Esther

New member
Which of the following system call uses file descriptor as an argument?
A. read
B. write
C. close
D. read, write, close
 
Answer: d
Explanation: A file descriptor is an integer which is allocated when a file is opened. It is used by all system calls that perform some operations on file -like read, write, close, lseek.
Here is a listing of Linux / Unix Technical Interview Questions & Answers for experienced IT professionals as well as fresh engineering graduates. These questions can be attempted by anyone focusing on Linux Development and Systems programming.
 

Tìm kiếm

Back
Top