Subject: Re: Eeeek! The U word in man4!
To: None <current-users@NetBSD.ORG>
From: Ty Sarna <tsarna@endicor.com>
List: current-users
Date: 12/02/1994 00:27:51
In article <199412012129.QAA02136@baalperazim.frob.com>,
Roland McGrath  <roland@frob.com> wrote:
> POSIX (.12?, I can't keep track any more--the draft the specifies
> sockets) has chosen the name `local domain' for the Unix socket
> domain, AF_LOCAL et al.  I suggest NetBSD use this name and keep
> AF_UNIX as an alias for compatibility.  (Of course, noone has
> suggested renaming `struct sockaddr_un' to sockaddr_lo or anything
> else annoying like that which would actually require code changes.)

It's in there(tm).

from <sys/socket.h>:
/*
 * Address families.
 */
#define AF_UNSPEC       0               /* unspecified */
#define AF_LOCAL        1               /* local to host (pipes, portals) */
#define AF_UNIX         AF_LOCAL        /* backward compatibility */