On 1/17/12 10:05 PM, Zachary Miller wrote: >> Thanks for the report. As a practical matter, this doesn't present a >> problem. When writing to a regular file, with no special flags supplied >> to open(), the only cases Posix says it can return fewer bytes than >> specified are errors. > > thank chet. i figured that may be the case. if you wouldn't mind, could you > point me to where exactly that behavior is documented?
Sure. That's how I read http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html#tag_16_879 -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/