bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: usleep() bug


From: Ulrich Drepper
Subject: Re: usleep() bug
Date: 29 Mar 2001 11:36:57 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia)

"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.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]