Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!groucho!steve From: steve@groucho.ucar.edu (Steve Emmerson) Newsgroups: comp.lang.c Subject: why "(void)printf(fmt);" besides lint(1)? Keywords: casting void lint Message-ID: <7486@ncar.ucar.edu> Date: 25 May 90 22:13:19 GMT Sender: news@ncar.ucar.edu Distribution: na Organization: University Corporation for Atmospheric Research (UCAR) Lines: 15 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@unidata.ucar.edu ...!ncar!unidata!steve