[Top] [All Lists]

Re: header files state

To: "Kevin D. Kissell" <>
Subject: Re: header files state
From: "William J. Earl" <>
Date: Mon, 20 Mar 2000 10:18:13 -0800 (PST)
Cc: "Florian Lohoff" <>, <>
In-reply-to: <000601bf9243$ba783f10$>
References: <000601bf9243$ba783f10$>
Kevin D. Kissell writes:
 > And I note with some concernt that, while in the PC Linux
 > universe, asm/socket.h, linux/socket.h, and bits/socket.h
 > all have the same definitions for the socket types
 > (SOCK_STREAM = 1, for example), in the MIPS/LINUX
 > kernel, SOCK_STREAM = 2, though there is still the
 > definition, conditional on
 > #if !defined(__KERNEL__) && (!defined(__GLIBC__) || (__GLIBC__ < 2))
 > that defines SOCK_STREAM to be 1.  Fortunately, the
 > probability of someone using non-glibc or glibc < 2 in
 > a MIPS/Linux universe seems to be essentially zero.

     SOCK_STREAM == 2 is correct for the MIPS ABI (which has to do with
some unfortunate choices made by AT&T in SVR4, and consequent 
issues for various of the MIPS ABI participants).

<Prev in Thread] Current Thread [Next in Thread>