[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AF_LOCAL vs AF_UNIX



On 25 Mar 1998, Andreas Schwab wrote:

> |> I'm not totally sure on this issue, but I'm guessing the definition for
> |> AF_LOCAL is missing from the MiNT socket.h header file? POSIX renamed
> |> AF_UNIX to be AF_LOCAL (quite logical considering what POSIX is attempting
> |> to accomplish).
> 
> Actually, POSIX renamed AF_LOCAL to AF_FILE, and AF_UNIX is the old BSD
> name for AF_LOCAL.  This is from <bits/socket.h> on Linux:

How has MiNT got it defined? I think it would be a good idea to follow the
POSIX standard at least where it's easy (like redefinitions).

         -     ---------- = = ---------//--+
         |    /     Kristoffer Lawson      |    www.fishpool.com
         +-> |    setok@fishpool.com       |  - - --+
             |-- Fishpool Creations Ltd - /         |
             +-------- = - - - = ---------      /~setok/