public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Colin Ford <colin.ford@pipinghotnetworks.com>
To: Colin Ford <colin.ford@pipinghotnetworks.com>
Cc: eCos <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] sprintf problem in redboot?
Date: Fri, 08 Jun 2001 02:16:00 -0000	[thread overview]
Message-ID: <200106080915.KAA18056@cartman.pipinghotnetworks.com> (raw)
In-Reply-To: <200106080914.KAA17595@cartman.pipinghotnetworks.com>

Sorry I ment

sprintf( buf, "%%%dc", 5 );

Cheers,
Col.


On 08 Jun 2001 10:14:05 +0100, Colin Ford wrote:
> Hi,
> 
> does anyone know if redboots sprintf evaluates the
> code below properly.
> 
> sprintf( buf, "%%%d%c", 5 );
> 
> I seem to get "?5c" when I was expecting "%5c" in buf?
> 
> Cheers,
> Col.
> 
> -- 
> ===========================================
> Colin Ford               PipingHot Networks
> Software Engineer        +44 (0)1364 655510 



-- 
===========================================
Colin Ford               PipingHot Networks
Software Engineer        +44 (0)1364 655510 

  reply	other threads:[~2001-06-08  2:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08  2:14 Colin Ford
2001-06-08  2:16 ` Colin Ford [this message]
2001-06-08  2:27   ` Andrew Lunn

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=200106080915.KAA18056@cartman.pipinghotnetworks.com \
    --to=colin.ford@pipinghotnetworks.com \
    --cc=ecos-discuss@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).