linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* function cast?
@ 2010-01-28  6:05 Randi Botse
  2010-01-28  6:09 ` Randi Botse
  0 siblings, 1 reply; 4+ messages in thread
From: Randi Botse @ 2010-01-28  6:05 UTC (permalink / raw)
  To: linux-c-programming

Hi All,

Sometimes i see codes are written like this:

(void) printf(fmt);

- or -

(void) close(fd);

What these means? i think it is not necessary to put that 'void' on a
statement, or it just like when we cast a data type? so the email

Thanks,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-01  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28  6:05 function cast? Randi Botse
2010-01-28  6:09 ` Randi Botse
2010-01-28  6:20   ` Manish Katiyar
2010-02-01  4:33     ` phil song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).