lint question

Chip Salzenberg chip at ateng.ateng.com
Wed Jan 18 02:02:02 AEST 1989


According to henry at utzoo.uucp (Henry Spencer):
>[...] printf is a singularly
>annoying case of a function that could fail but very rarely does, and
>is a pain to check -- especially since the type of its returned value
>is not portable among current Unixes.

One portable solution would be an occasional test of ferror(stdout).
-- 
Chip Salzenberg             <chip at ateng.com> or <uunet!ateng!chip>
A T Engineering             Me?  Speak for my company?  Surely you jest!
	  "It's no good.  They're tapping the lines."



More information about the Comp.lang.c mailing list