Question
a.
0
b.
1
c.
May be
d.
0 and -1
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. close system call returns ____
Similar Questions
Discover Related MCQs
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!