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 X-Google-Thread: 103376,2d2df3e9ad18fa63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-25 14:21:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!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:33AECN3cM9GArPTevdsM+xBH7eg= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Thu, 26 Jun 2003 09:19:47 +1200 NNTP-Posting-Host: 219.88.64.124 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1056576094 219.88.64.124 (Thu, 26 Jun 2003 09:21:34 NZST) NNTP-Posting-Date: Thu, 26 Jun 2003 09:21:34 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:39744 Date: 2003-06-26T09:19:47+12:00 List-Id: >>>>> "Lutz" == Lutz Donnerhacke writes: >>> constant error_code := 11; -- Try again [...] EWOULDBLOCK : >>> constant error_code := 41; -- is now EAGAIN [...] 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 >> see the equality. Lutz> No. This line says, da� 41 (with was returned by older Lutz> kernels) does not have a symbolic name anymore. If you Lutz> recompile an older program, which assumes the error code 41, Lutz> it is leaded to 11 with this kernel. Lutz> This does not say anything about returning 41. The discussion was: berend> I think every current system has: berend> #define EWOULDBLOCK EGAIN and yes, that's true. And I'm not sure what older kernels you're talking about. Pre 1.0 perhaps? -- Regards, Berend. (-: