On Friday 09 February 2001 15:18, Jennings, Richard R wrote:
> Are there simple string manipulation / conversion calls available
> to RT modules?
>
> I tried to modify a module to take parameters which it parses
> in init_module() using isdigit(), strtol(), etc. When I installed
> the module and ran depmod, it showed unresolved symbols.
>
> I ended up providing my own isdigit, strtol, etc. in the module
> to get it to work.
>
> Was there an easier way?
Well, most of the functions, macros etc in string.h don't need external stuff
(ie system calls), so you sholud be able to just link them in. Be aware that
numeric conversion calls may need various math calls as well, some of which
can't directly be used in kernel space. You may have to provide an occasional
kernel version of such calls with the "nice" error messages removed or ported.
//David
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'
-- [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/