is there a C func that can check kernel config file?

Zhouping Liu sanweidaying at gmail.com
Mon Nov 5 21:35:09 EST 2012


Hello,

As subject, as we know we can check the kernel config file through reading
'/usr/src/kernels/`uname -r`/.config' (fedora distro), it's apparently to
find out which config is open/close. but if I'd like do this in C program,
how to do that, is there interface/func in some header file?

Thanks,
Zhouping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121106/34509e35/attachment.html 


More information about the Kernelnewbies mailing list