use __transparent_union__ for name safety; add several sockaddr flavors.
authorroland <roland>
Tue, 26 Dec 1995 01:55:44 +0000 (01:55 +0000)
committerroland <roland>
Tue, 26 Dec 1995 01:55:44 +0000 (01:55 +0000)
commit014917e2bdfca7d6da8c9b3045295f5e7cfa66ac
tree9c702d67ec3ed68992379ba08791e9b19a3f4171
parent6fb321c03b0bb7850bb4907164a06fd449af6225
use __transparent_union__ for name safety; add several sockaddr flavors.
(__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in constructing
the transparent union declarations.
(__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
(bind, connect, sendto): Make the sockaddr argument use that.
socket/sys/socket.h