[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] usleep()
On Mon, 2010-08-16 at 23:01 +0200, Vincent Rivière wrote:
> Hello.
>
> I have just noticed that usleep() returns void in the MiNTLib, while it
> returns int in Glibc:
>
> http://sparemint.atariforge.net/cgi-bin/cvsweb/mintlib/posix/usleep.c?rev=1.2&content-type=text/x-cvsweb-markup
> http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/usleep.c;h=f770c57884811dfcc4de40b3b4d48057edee33df;hb=HEAD
>
> Is there a good reason for that ?
> As usual, it would be good to keep as close as possible to Glibc.
>
> I hit that problem by compiling gawk 3.1.8 which tests the return value
> of usleep().
I agree and I just noticed I'd had a patch in my local mintlib tree that
I just committed.
Alan.