March 28, 2024, 11:39:32 AM

News : LinuxSolved.com Linux Help Community Forum..


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