Question
a.
SEEK_SET
b.
SEEK_END
c.
SEEK_CUR
d.
SEEK_CR
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 offset is used with lseek system call to set the offset pointer to the end of the file?
Similar Questions
Discover Related MCQs
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!