From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: Re: [9fans] subtracting pointers on amd64 6c
Date: Thu, 7 Jan 2016 02:08:00 +0100 [thread overview]
Message-ID: <1d774b35c732e620fee8fc4254c169e7@felloff.net> (raw)
In-Reply-To: <be7075c46289213c485e672a0ce70c07@lilly.quanstro.net>
what if we introduce signed intptr type and use that instead
of introducing ptrdiff? ape already has a signed intptr_t
type.
then use 'z' as a modifier to mean "intptr size" so that
%zd would print signed intptr and %zud is for uintptr?
the %t and %T space seems rather crowded...
term% grep 'fmtinstall\(''[zZtT]' */*.c */*/*.c */*/*/*.c */*/*/*/*.c
cmd/timepic.c: fmtinstall('T', Tfmt);
cmd/trace.c: fmtinstall('t', timeconv);
libhtml/lex.c: fmtinstall('T', Tconv);
libmach/kdb.c: fmtinstall('T', Tfmt);
libmach/udb.c: fmtinstall('T', Tfmt);
libventi/log.c: fmtinstall('T', timefmt);
9/mtx/pci.c: fmtinstall('T', tbdffmt);
9/pc/pci.c: fmtinstall('T', tbdffmt);
9/port/edf.c: fmtinstall('t', timeconv);
9/teg2/pci.c: fmtinstall('T', tbdffmt);
cmd/cc/lex.c: fmtinstall('T', Tconv);
cmd/cwfs/sub.c: fmtinstall('Z', Zfmt); /* print devices */
cmd/cwfs/sub.c: fmtinstall('T', Tfmt); /* print times */
cmd/db/output.c: fmtinstall('t', tconv);
cmd/disk/rd9660.c: fmtinstall('T', asciiTfmt);
cmd/disk/rd9660.c: fmtinstall('T', runeTfmt);
cmd/hjfs/buf.c: fmtinstall('T', Tfmt);
cmd/vac/unvac.c: fmtinstall('t', mtimefmt);
cmd/upas/fs/imap4.c: fmtinstall('Z', doublequote);
cmd/upas/marshal/marshal.c: fmtinstall('Z', doublequote);
cmd/venti/srv/fixarenas.c: fmtinstall('z', zfmt);
cmd/venti/srv/fixarenas.c: fmtinstall('t', tfmt);
cmd/venti/srv/utils.c: fmtinstall('T', vttimefmt);
--
cinap
next prev parent reply other threads:[~2016-01-07 1:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 6:36 cinap_lenrek
2016-01-05 7:53 ` cinap_lenrek
2016-01-05 10:17 ` Charles Forsyth
2016-01-05 10:15 ` Charles Forsyth
2016-01-05 10:28 ` Charles Forsyth
2016-01-05 19:01 ` Devon H. O'Dell
2016-01-05 19:46 ` Charles Forsyth
2016-01-05 20:40 ` erik quanstrom
2016-01-05 21:53 ` Devon H. O'Dell
2016-01-05 23:27 ` erik quanstrom
2016-01-05 23:37 ` Dave Eckhardt
2016-01-05 21:03 ` erik quanstrom
2016-01-05 22:32 ` cinap_lenrek
2016-01-05 22:57 ` Devon H. O'Dell
2016-01-05 23:17 ` Devon H. O'Dell
2016-01-05 23:14 ` erik quanstrom
2016-01-06 6:58 ` cinap_lenrek
2016-01-06 19:10 ` erik quanstrom
2016-01-07 1:08 ` cinap_lenrek [this message]
2016-01-08 22:23 ` 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=1d774b35c732e620fee8fc4254c169e7@felloff.net \
--to=cinap_lenrek@felloff.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).