This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: sprintf problem in redboot?
- To: Colin Ford <colin dot ford at pipinghotnetworks dot com>
- Subject: Re: [ECOS] sprintf problem in redboot?
- From: Colin Ford <colin dot ford at pipinghotnetworks dot com>
- Date: 08 Jun 2001 10:15:23 +0100
- Cc: eCos <ecos-discuss at sources dot redhat dot 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