How to access Linux Kernel environment Variables ?

From: santosh prasad nayak
Date: Wed Nov 05 2014 - 03:03:14 EST


Hi all,

Is there any system call in Linux which serve the purpose of "kenv()"
of FreeBSD ?


In FreeBSD:
-----------------
Kernel environment variables are saved at "/boot/loader.conf" and
those variables can be accessed using "kenv()" system call in C
program.
----------------


Is there any similar functionality available in Linux kernel ?


Thanks
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/