is there a C func that can check kernel config file?
From: Adam Lee <hidden>
Date: 2012-11-06 04:48:21
From: Adam Lee <hidden>
Date: 2012-11-06 04:48:21
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