Re: How to access Linux Kernel environment Variables ?

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

 



On Wed, Nov 5, 2014 at 9:03 AM, santosh prasad nayak
<santoshprasadnayak@xxxxxxxxx> wrote:
> 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 ?

/proc/cmdline?

-- 
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux