Re: problems in pread(2).

Stephen C. Tweedie (sct@redhat.com)
Wed, 27 Jan 1999 14:58:09 GMT


Hi,

On Tue, 26 Jan 1999 07:51:22 +0000 (GMT), Tigran Aivazian
<tigran@sco.COM> said:

> The Single Unix v2 specs says:
> The pread() function will fail, and the file pointer remains unchanged,
> if:

> [EOVERFLOW]
> The file is a regular file and an attempt was made to read or
> write at or beyond the offset maximum associated with the file.

> The "offset maximum associated with the file" is the fancy way of saying
> "current size of the file".

No, the "offset maximum" is a fancy way of saying "the maximum possible
offset_t supported for this file descriptor".

--Stephen

-
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/