I want to load a module from my gtk app, and get a return, to know if it
has really been laoding.
The system function return no error (0 or 256) if system("insmod") fails
(idem with modprobe) .
That's why I want to use request_modules.
How could I link this function in my gtk app?
thanks for responses and sorry for html
(not my PC)
dublux writes:
> ok for request_module with depency in the kernel itself but ...
> how can I tell it to GCC?? (GCC -lkernel ??)
Do you wanna do that in kernel or user space ?
request_module is for kernel space. In user space you use insmod and
friends and start it as you do with any program, start with
man system
:-)
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
I hate html on mls ! Esp. with white background ! Have I said that
before ? I'm sorry.
(As you see my mail-reader displays it the way you want, but it simply
does not belong into mls !!!)
I will try not to respond to any html messages by you in the future.
-- [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/