9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] binary sprint format
Date: Thu,  6 Aug 2009 20:34:20 -0400	[thread overview]
Message-ID: <0d8d213d8d2611541f18dce3ecf5466c@quanstro.net> (raw)
In-Reply-To: <4A7B75A7.50709@tecmav.com>

> > i believe you need to update your libc.h.  you need pragmas for
> > the "b" format, which were added 2007/0108.
> >
> > - erik
> >
> >
> >
> >
> I'm using a distribution downloaded about 2 months ago. The machine has
> been installed from scratch.

perhaps you have not included everything necessary?

; cat fmtb.c
#include <u.h>
#include <libc.h>

void
main(void)
{
	print("%b\n", 16);
	exits("");
}

; 8c -FVTw fmtb.c && 8l fmtb.8 && 8.out
10000

- erik



  reply	other threads:[~2009-08-07  0:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07  0:01 Adriano Verardo
2009-08-07  0:08 ` erik quanstrom
2009-08-07  0:30   ` Adriano Verardo
2009-08-07  0:34     ` erik quanstrom [this message]
2009-08-07  1:27       ` Adriano Verardo
2009-08-07  8:37       ` kjs
2009-08-07  8:37 ` Greg Comeau
2009-08-07 12:52   ` erik quanstrom
2009-08-07  2:15 Akshat Kumar
     [not found] <634008374f96d39b2953843bc63d67ff@plan9.bell-labs.com>
2009-08-07  3:47 ` Adriano Verardo

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=0d8d213d8d2611541f18dce3ecf5466c@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).