November 24, 2024, 01:19:11 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to get display Kernel Version & System Time in C language?  (Read 5753 times)

Offline Beginer

  • New Member
  • Posts: 2
How to get display Kernel Version & System Time in C language?
« on: February 09, 2009, 08:00:22 AM »
I want to display the version of the Linux Kernel and current system time by programming in C language and using gcc compiler while working in Linux OS. Can someone suggest me any System Call or Library function that can help me achieving this goal?
Thanks!