This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sprintf problem in redboot?


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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]