[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
usleep() bug
From: |
Michael Kerrisk |
Subject: |
usleep() bug |
Date: |
Thu, 29 Mar 2001 20:59:25 +0200 |
Gidday,
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?
Cheers
Michael
__________________________________________
Michael Kerrisk
mailto: address@hidden
Diane Keaton: "Sex without love is an empty experience."
Woody Allen: "Yes, but as empty experiences go,
it's one of the best."
- usleep() bug,
Michael Kerrisk <=