Re: Kernel version

mdean (mdean@best.com)
Wed, 26 Mar 1997 00:10:24 -0800 (PST)


read the psuedo-file /proc/version

On Tue, 25 Mar 1997, [ISO-8859-1] Tomás Restrepo wrote:

> Hi.
>
> Can someone tell me if there is an easy way to get the kernel release and
> the nodename from within a C program?
>
> I know that in include/utsname.h there's an structure used for that, but I
> really don't know how to get to it.
>
> I'd appreciated if someone could help me out.
>
> +----------------------------------------------------+
> Tomás Restrepo Madrid
> Winder
> trestrep@medellin.cetcol.net.co
> etrm703@delta.eafit.edu.co
> http://delta.eafit.edu.co/~etrm703/
> +----------------------------------------------------+
>