Re: read(file, buf, count, &file->f_pos); why have &file->f_pos?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 11 Nov 1999 13:51:56 +0000 (GMT)


> if f_pos is available via file->f_pos why do we need to pass the address
> of it as an extra argument to read() method as well?

pread() and pwrite()

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/