lkml.org 
[lkml]   [1997]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectKernel version
Date
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/
+----------------------------------------------------+

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.028 / U:1.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site