The pread function performs the same action as read, except that
it reads from a given position in the file without changing the
file pointer. The first three arguments to pread are the same as
for read, with the addition of a fourth argument offset for the
desired position inside the file. An attempt to perform a pread
on a file that is incapable of seeking results in an error.