why "(void)printf(fmt);" besides lint(1)?

Steve Emmerson steve at groucho.ucar.edu
Sat May 26 08:13:19 AEST 1990


I'd like to poll this group's readership on the following question:

Aside from getting lint(1) to shut up, why else would one write

	(void)printf(fmt);

rather than the simpler

	printf(fmt);

?

NB: This question is intended to be neutral.

Steve Emmerson        steve at unidata.ucar.edu        ...!ncar!unidata!steve



More information about the Comp.lang.c mailing list