From: harry Subject: Re: errno i xs_wire.h Date: Tue, 08 Nov 2005 13:38:28 +0000 Message-ID: <1131457108.5970.20.camel@localhost.localdomain> References: <200511081325.18626.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200511081325.18626.mark.williamson@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com, Jacob Gorm Hansen List-Id: xen-devel@lists.xenproject.org I was talking with Rusty about this and apparently posix doesn't actually standardise the numbers. On Tue, 2005-11-08 at 13:25 +0000, Mark Williamson wrote: > > playing with xenbus support in mini-os, I noticed that xs_wire.h > > references errno constants such as EINVAL. Is the use of these > > constants (which could be guest-OS specific) > > Isn't the basic set of errno vals posix standardised? So even if a guest OS > doesn't deal in errnos itself, it can just import the BSD errno.h or > similar...? > > Cheers, > Mark > > > in the wire-protocol not > > problematic? Should xs_wire.h define its own set of constants to be > > used instead? > > > > Jacob > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >