lseek() system call
The UNIX system file system treats anordinary file as a sequence of bytes.
Generally, a file is read or written sequentially
-- that is, from beginning to the end of the file.
Sometimes sequential reading and writing is
not appropriate.
Random access I/O is achieved by changing
the value of this file pointer using the lseek()
system call.
No comments:
Post a Comment