* sscanf() bug - can't handle "0x" on hex conversions...
@ 1994-02-16 14:26 Wayne Scott
0 siblings, 0 replies; only message in thread
From: Wayne Scott @ 1994-02-16 14:26 UTC (permalink / raw)
Hi Folks:
I've been using the sscanf() function to convert a hex string to an
integer, and I believe I've discovered a bug. The C Programming Language
book I have says that scanf() should work "with or without leading 0x or 0X."
That IS the case on AIX, but on OSF/1, it doesn't work unless I get rid of
the leading 0x. Has anyone else run into this?
Wayne
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-02-16 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-16 14:26 sscanf() bug - can't handle "0x" on hex conversions Wayne Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox