November 22, 2024, 01:37:40 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to get display Kernel Version & System Time in C language?  (Read 5706 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!