chaets / lseek-system-call-is-used-to-read-and-write-the-files-randomly Goto Github PK
View Code? Open in Web Editor NEWlseek() system call is used to change the location of read and write pointers of the file descriptor. The location can be set either in relative or absolute terms. It is useful to be able to read or write to a specific offset with in the file.