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

[MiNT] usleep()



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().

--
Vincent Rivière