[lkml]   [2001]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] s_maxbytes handling
Linus writes:

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


So -EFBIG is certainly the preferable return value,

Yes. The Austin 6th draft writes

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.022 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site