On Tue, Apr 15, 2008 at 05:26:30PM +0530, tomy wrote:
>       I am currently working on Linux 2.6 kernel(2.6.20.11). During  
> startup after around 3 minutes times() system call (for getting system  
> ticks) is returning -1 for around 40 seconds. Why it is happening so?.  
> Is there any way to overcome this issue?

Check errno to see what's going wrong. Oh, and to get the amount of
system ticks is a bad idea, see the "return value" section in times(2).
(I guess you will find you get an error after 5 minutes, not after 3).


Erik

-- 
Erik Mouw -- [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to