Re: [patch] s_maxbytes handling

From: Andries.Brouwer@cwi.nl
Date: Tue May 22 2001 - 14:33:23 EST


Linus writes:

        0 is EOF _for_reads_. For writes it is not very well defined

Hmm.

        So -EFBIG is certainly the preferable return value,

Yes. The Austin 6th draft writes

EFBIG:
An attempt was made to write a file that exceeds the implementation-defined
maximum file size or the process' file size limit, and there was no room for
any bytes to be written.

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



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:48 EST