adplus-dvertising
frame-decoration

Question

Which of the following offset is used with lseek system call to set the offset pointer to the end of the file?

a.

SEEK_SET

b.

SEEK_END

c.

SEEK_CUR

d.

SEEK_CR

Posted under UNIX

Answer: (b).SEEK_END

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?