From dev-return-8220-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Mon Oct 14 11:55:49 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 9008 invoked by uid 500); 14 Oct 2002 11:55:48 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 8994 invoked from network); 14 Oct 2002 11:55:46 -0000 From: "Brian Havard" To: "APR developers" Date: Mon, 14 Oct 2002 21:55:44 +1000 (EST) Reply-To: "Brian Havard" Priority: Normal X-Mailer: PMMail 2.10.1999 for OS/2 Warp 4.05 In-Reply-To: <5.1.0.14.2.20021013085530.03591790@pop3.rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: apr/include apr_errno.h Message-Id: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sun, 13 Oct 2002 09:22:09 -0500, William A. Rowe, Jr. wrote: >Would the separation get_os_error, get_netos_error, get_netdb_error >make sense for resolving into: > >Unix errno, errno, h_errno >Netware errno, WSAGetLastError, WSAGetLastError >Win32 GetLastError, WSAGetLastError, WSAGetLastError >OS2 {not applicable}, errno, h_errno OS/2 actually has a sock_errno() function that works much like WSAGetLastError(). The values it returns are biased so as to not conflict with system errors, going from 10000->10066. The h_errno is correct though & has values -1,1->4 which DOES conflict with system error codes. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------