Find the answer to your Linux question:
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 ...
  1. #1
    Just 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?

  2. #2
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...