Question
a.
write
b.
rd
c.
read
d.
change
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. For reading input, which of the following system call is used?
Similar Questions
Discover Related MCQs
Q. Which of the following system call is used for opening or creating a file?
View solution
Q. There are ___ modes of opening a file.
View solution
Q. Which of the following mode is used for opening a file in both reading and writing?
View solution
Q. open system call returns the file descriptor as ___
View solution
Q. Which of the following system call is used for closing a file?
View solution
Q. close system call returns ____
View solution
Q. ____ system call is used for writing to a file.
View solution
Q. write system call returns -1 when ___________
View solution
Q. ____ system call is used for positioning the offset pointer.
View solution
Q. Which of the following offset is used with lseek system call to set the offset pointer to the end of the file?
View solution
Q. Which of the following system call is used for truncating a file?
View solution
Q. truncate needs the ___ of the file as an argument but ftruncate works with _______
View solution
Q. Choose the correct statement:
View solution
Q. Which of the following fields in the structure stat, has information about the permission setting of a file?
View solution
Q. Which of the following are not system calls?
View solution
Q. Choose the correct statements
View solution
Q. Which of the following remarks about system calls, library functions and UNIX commands are true?
View solution
Q. A fork system call will fail if
View solution
Q. Which of the following is used to write disk block images from memory to disk?
View solution
Q. The PID of the kernel process is
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!