In this case, it's the Mac OS X man page. Which I now see doesn't say the same thing as POSIX. Which was just the point I was trying to make - you can't rely on the return value for determining the number of characters written.
Oh, and I am sure the reality of my Operating System is very close to 100% ;-) // Simon On 6/6/07, Dave Korn <[EMAIL PROTECTED]> wrote:
On 06 June 2007 12:04, Simon Brenner wrote: > According to my manpage, printf returns 0 on success, 1 on failure. No > mention of the number of characters written. Well, maybe you should ... > use a Real Operating System ....<g>! What man page exactly are you referring to? cheers, DaveK -- Can't think of a witty .sigline today....