title: How to load Linux kernel modules from C code?
body: <p>I have an application that has both two external kernel modules and a userspace daemon. I want to load the modules from the daemon code, written in C, at startup, and unload them on clean exit. Can I load them in a cleaner way than doing <code>system("modprobe module");</code> and unload them using the corresponding <code>rmmod</code>?</p>