comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: About to give up...
Date: 1998/08/08
Date: 1998-08-08T00:00:00+00:00	[thread overview]
Message-ID: <dewar.902580795@merv> (raw)
In-Reply-To: m3k94kl30y.fsf@mheaney.ni.net

Matthew says

<<One thing you can do in C is to explicitly cast away the return value

  (void) func (params);

This at least tells your reader that you didn't accidently ignore the
return value.
>>


which is of course a standard idiom, that is always used by C programmers
when they want to discard such a value :-) :-)





  reply	other threads:[~1998-08-08  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  0:00 About to give up i96danma
1998-08-06  0:00 ` dennison
1998-08-07  0:00   ` i96danma
1998-08-07  0:00     ` Robert Dewar
1998-08-08  0:00       ` Matthew Heaney
1998-08-08  0:00         ` Robert Dewar [this message]
1998-08-08  0:00           ` Matthew Heaney
1998-08-08  0:00       ` Dan Mattsson
1998-09-05  0:00         ` Tom Moran
1998-08-06  0:00 ` Robert Dewar
1998-08-08  0:00   ` Dan Mattsson
1998-08-10  0:00     ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1998-08-16  0:00 Robert Dewar
1998-08-06  0:00 i96danma
1998-08-06  0:00 ` Oliver.Kellogg
1998-08-07  0:00   ` Tarjei Tj�stheim Jensen
1998-08-06  0:00 ` Dale Stanbrough
1998-08-06  0:00   ` Peter Amey
1998-08-06  0:00     ` Tom Moran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox