From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d2df3e9ad18fa63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-24 13:44:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: ISO/IEC 14519 - Ada POSIX binding From: Berend de Boer Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-msvc-nt5.0.2195) References: <3EF2F6B8.3030706@noplace.com> <3EF338C5.2010005@cogeco.ca> <87r85nqlwa.fsf@deneb.enyo.de> <3EF7273A.8060704@cogeco.ca> Cancel-Lock: sha1:nZeuVSn3LI89gpBfXDfCBemDqKs= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Jun 2003 08:43:08 +1200 NNTP-Posting-Host: 219.88.64.124 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1056487477 219.88.64.124 (Wed, 25 Jun 2003 08:44:37 NZST) NNTP-Posting-Date: Wed, 25 Jun 2003 08:44:37 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:39691 Date: 2003-06-25T08:43:08+12:00 List-Id: >>>>> "Lutz" == Lutz Donnerhacke writes: >> I think every current system has: #define EWOULDBLOCK EGAIN or >> something like that (I don't master C). Lutz> No. work/ada/src/kernel/kernel-linux_i86.ads [...] EAGAIN Lutz> : constant error_code := 11; -- Try again [...] EWOULDBLOCK Lutz> : constant error_code := 41; -- is now EAGAIN [...] Lutz> You never know which code the kernel will return. I don't know a thing about Ada, but if you look at the Linux source: /usr/include/asm/errno.h at line 44 on my system you say the equality. I've no idea why you have the value 41, that's absolutely incorrect. -- Regards, Berend. (-: