[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: usleep() bug
From: |
Michael Kerrisk |
Subject: |
Re: usleep() bug |
Date: |
Fri, 30 Mar 2001 18:28:54 +0200 |
> "Michael Kerrisk" <address@hidden> writes:
>
> > Another question, this time relating to usleep(). This function is
> > defined as returning void (sysdeps/unix/{sysv/linux,bsd}/usleep.c,
> > however SUSv2 and Austin draft 5 define this usleep as return int (-1 on
> > error, 0 on success) just as nanosleep() (on which usleep is implemented
> > in linux) does. Is this considered a bug?
>
> You are looking at an old version. This is already changed in 2.2.2.
Thanks for the info - I was looking at 2.2.1.
Cheers
Michael
__________________________________________
Michael Kerrisk
mailto: address@hidden
Shyness is more about censoring oneself than receiving censure.