Results 1 to 2 of 2
I want to write code in C language that should run in Linux that should display the version of Linux Kernel as well as the current system time. In Turbo ...
- 02-09-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
How to get display Kernel Version & System Time in C language?
I want to write code in C language that should run in Linux that should display the version of Linux Kernel as well as the current system time. In Turbo C, we use to have gettime library function but it so not work here. Does anyone of you have an idea about a system call or library function that can help to display the version of the Linux Kernel and current time of the system?
- 02-09-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
use system API
use system(uname -a) it will display the kerner version I Guess, plz chect it


Reply With Quote