9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: 党立斌 <danglb@lianchuang.com>
To: "9fans@cse.psu.edu" <9fans@cse.psu.edu>
Subject: [9fans] warning of putchar
Date: Sat, 14 Jan 2006 17:07:59 +0800	[thread overview]
Message-ID: <0IT200ET9SC10A@lianchuang.com> (raw)

/* test.c */

#include <u.h>
#include <stdio.h>

void
main()
{
	putchar('\n');
}

8c -w test.c

warning:test.c:9 result of operation not used
warning:test.c:9 result of operation not used
warning:test.c:9 result of operation not used

three repetitive warnings



             reply	other threads:[~2006-01-14  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-14  9:07 党立斌 [this message]
2006-01-14 10:40 ` Bruce Ellis
2006-01-14 12:18   ` Charles Forsyth
2006-01-14 12:33     ` erik quanstrom
2006-01-14 18:25       ` Russ Cox
2006-01-14 21:29         ` erik quanstrom

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=0IT200ET9SC10A@lianchuang.com \
    --to=danglb@lianchuang.com \
    --cc=9fans@cse.psu.edu \
    /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).