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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux