9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Rob Pike" <robpike@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] kenc: casting expression to void not ignored
Date: Sun, 29 Jun 2008 08:28:31 -0700	[thread overview]
Message-ID: <7359f0490806290828m63a1a553mfcc2bb49e936b17@mail.gmail.com> (raw)
In-Reply-To: <A14B2B45-67BD-4E40-B056-68EF3CAA687F@mac.com>

> Shouldn't the cast to void mean that I don't intend to use the result of the
> operation? Thanks.

That's not standard C, just a bad convention established by lint(1)
and carried too far for a while before fading away again.

-rob



      parent reply	other threads:[~2008-06-29 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-29 13:53 Pietro Gagliardi
2008-06-29 13:57 ` Pietro Gagliardi
2008-06-29 14:18 ` erik quanstrom
2008-06-29 15:28 ` Rob Pike [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7359f0490806290828m63a1a553mfcc2bb49e936b17@mail.gmail.com \
    --to=robpike@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).