Good point. Actually I had this same argument when I thought it wouldn't
work and looked it up in ksyms and then forgot about it. :)

Steve

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>Calin A. Culianu
>Sent: Friday, March 15, 2002 8:45 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [rtl] Need help with C++ in RTLinux
>
>
>
>Yes, that's true, but that's because there is an
>implementation of sprintf
>in the kernel:
>
>[calin@rtlab calin]$ cat /proc/ksyms | grep sprintf
>c01f7250 sprintf_R3c2c5af5
>c01f7230 vsprintf_R954cbb26
>[calin@rtlab calin]$
>
>-Calin
>
>
>On Thu, 14 Mar 2002, Steven Seeger wrote:
>
>> sprintf works fine in RTLinux modules. It just depends on
>which functions
>> you use.
>>
>> Steve
>>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of
>> >Calin A. Culianu
>
>> >Sent: Wednesday, March 13, 2002 12:14 PM
>> >To: [EMAIL PROTECTED]
>> >Subject: Re: [rtl] Need help with C++ in RTLinux
>> >
>> >
>> >
>> >eek!  No, no, no!  You can't use stdio.h in the kernel.
>> >Printf relied on
>> >the write() system call which is completely meaningless int he
>> >kernel...
>> >Hmm. You should get a book on the kernel.
>> >
>> >-Calin
>>
>> -- [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/
>>
>
>-- [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/
>

-- [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/

Reply via email to