Question
a.
read
b.
write
c.
close
d.
read, write, close
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following system call uses file descriptor as an argument?
Similar Questions
Discover Related MCQs
Q. System calls and library functions are same.
View solution
Q. For changing the time stamps, _____ system call is invoked.
View solution
Q. Both the owner and group owner can be changed by ____ call.
View solution
Q. chmod and fchmod calls are used for changing file permissions.
View solution
Q. Which of the following is used with access call for checking the owner’s permissions?
View solution
Q. For checking a file access rights, ___ system call is used.
View solution
Q. Which of the following macro returns true if the file type is a directory?
View solution
Q. S_IFxxx macros are used for checking the file types.
View solution
Q. ____ system call is used for renaming a file, directory or symbolic link.
View solution
Q. For removing a link, ____ is used.
View solution
Q. For creating a hard and symbolic link, which system calls are used?
View solution
Q. A super user can use ___ call for creating a directory.
View solution
Q. For creating and removing directories, which of the following system calls are used?
View solution
Q. Directories can also be opened, read and written in the same way as regular files.
View solution
Q. Which of the following system calls performs the action of cd command?
View solution
Q. The vnode table is also called _____
View solution
Q. The file table contains _________
View solution
Q. The file descriptor table contains all file descriptors for a process.
View solution
Q. How many data structures does the kernel maintain in memory that contain information about an open file?
View solution
Q. Which of the following is not a valid symbolic constant?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!