Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-18-2009, 10:39 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument"


I am interested in finding the MONOTONIC value of the clock.
After executing the system call
clock_gettime(CLOCK_MONOTONIC, &timespec); I find an error and perror points as "Invalid Argument".
I am executing this system call on a broaband router which customised freewrt linux.
Does anyone know how to get CLOCK_MONOTONIC time?

Old 11-19-2009, 04:45 AM   #2
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Either your libc or your kernel does not implement CLOCK_MONOTONIC.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "WARNING: Re-reading the partition table failed with error 22: Invalid argument." ytd Linux - Newbie 6 01-26-2010 11:06 AM
Error while trying to mount NFS share: "Invalid argument" TheEvilHammer Linux - Software 2 11-12-2009 02:35 AM
"Invalid argument" error while mounting NFS partition montylee Programming 12 07-23-2009 01:36 PM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 02:16 PM
Sound Blaster Audigy LS Problem - "Mixer attach default error: Invalid argument" corporal79 Linux - Hardware 3 03-27-2007 02:09 AM

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration