On Mon, Feb 07, 2000 at 12:34:51PM -0800, John Adams wrote:
> yes, I've found that.
> And the rt kernel doesn't support fcvt, gcvt calls either, right ?
> joHn
>
No.
There's a very thin line between the kernel and rtkernel. The
vsprintf() function is actually in the main kernel. The reason
that the kernel's vsprintf() does not support %f is because
floating point operations are not allowed in the main kernel.
(There is, of course, this feature in RT code.) It would not
be difficult to find the implementation of printf/sprintf/
vsprintf, etc. in the glibc source and copy the floating point
part out. Be careful, though, since (I think) the glibc
implementation calls malloc and other non-friendly functions.
In other words, there's no reason why it doesn't work other
than that it hasn't been implemented.
dave...
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/