On Tue, Nov 06, 2012 at 10:35:09AM +0800, Zhouping Liu wrote:
> 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?
> 

linux/scripts/kconfig/lkc.h and lkc_proto.h

like sym_get_tristate_value(), sym_get_string_value()...

-- 
Regards,
Adam Lee
http://adam8157.info

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to