From mint-bounce@lists.fishpool.fi Mon Aug 16 17:03:37 2010 Message-ID: <4C69A71A.2060109@freesbee.fr> Date: Mon, 16 Aug 2010 23:01:14 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: [MiNT] usleep() Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 100816-1, 16/08/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o7GL3bOX024158 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