This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Bug/missing feature in sscanf
- From: Ãyvind Harboe <oyvind dot harboe at zylin dot com>
- To: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 21 Sep 2009 16:50:31 +0200
- Subject: [ECOS] Bug/missing feature in sscanf
%llu is not supported and gives no warning...
unsigned long long cval;
sscanf ("401", "%llu", &cval);
if (cval == 401)
{
diag_printf("sscanf OK\n");
} else
{
diag_printf("sscanf FAIL\n");
}
--
Ãyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss