Computer Science, asked by anithabotla, 8 months ago

seek system call allows in os​

Answers

Answered by ranyodhmour892
0

Answer:

The lseek() function allows the file offset to be set beyond the end of the file (but this does not change the size of the file). If data is later written at this point, subsequent reads of the data in the gap (a "hole") return null bytes ('\0') until data is actually written into the gap.

Answered by shrutisharma4567
2

Explanation:

The Seek operation allows the application program to change the value of the file pointer so that subsequent Read/Write is performed from a new position in the file. The new value of the file pointer is determined by adding the offset to the current value.

Hope it helps you! plz mark it as BRAINLIEST!!

Similar questions