Why use (void) func() ?

Richard A. O'Keefe ok at goanna.cs.rmit.oz.au
Fri Sep 28 14:09:25 AEST 1990


In article <3837 at goanna.cs.rmit.oz.au>, ok at goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes:
> What _does_ the standard say about [printf() and ferror() and so on]

Thanks to the many people who explained to me that printf &co do output
"as if" using fputc() so *output* errors are reflected in ferror() as they
would be by fputc(), but that the effect of format errors as such is not
defined.
-- 
Fixed in the next release.



More information about the Comp.lang.c mailing list