[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] printing float
- To: utrrandr@savba.sk
- Subject: Re: [rtl] printing float
- From: Brian Wallis <bwallis@acm.org>
- Date: Thu, 03 May 2001 21:46:44 +1000
- Cc: rtl@rtlinux.org
- In-Reply-To: Your message of "Mon, 30 Apr 2001 15:11:53 +0200"<20010430151153.A1330@magor.savba.sk>
- References: <20010430151153.A1330@magor.savba.sk>
> My major trouble was I needed (floating point) sscanf for my RT
> application. Is it included in uClibc??
Yep, there is a sscanf and float, double and long long seem to be
supported.
> > Do you remember what functions in particular did it use that are
> > forbidden?
> >
>
> malloc and friends.
Of course, should have guessed.
There is one call to malloc in the printf source, seems to be in a
function called asprintf and is isolated to that function (ie: asprintf
isn't called from elsewhere in the file).
I must stress that I haven't actually tried to separate these two from
the rest of uClibc and use them in an RT app but it looks like it should
be relativly easy.
Good luck,
brian wallis...