Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Headersun(3HEAD)


NAME

 un - definitions for UNIX-domain sockets

SYNOPSIS

 
#include <sys/un.h>

DESCRIPTION

 

The <sys/un.h> header defines the sockaddr_un structure that includes the following members:

 
sa_family_t  sun_family   /* address family */
char         sun_path[]   /* socket pathname */

The sockaddr_un structure is used to store addresses for UNIX domain sockets. Values of this type must be cast to struct sockaddr for use with the socket interfaces.

The <sys/un.h> header defines the type sa_family_t as described in socket(3HEAD).

SEE ALSO

 

bind(3SOCKET), bind(3XNET), socket(3HEAD), socket(3SOCKET), socket(3XNET), socketpair(3SOCKET), socketpair(3XNET)


SunOS 5.9Go To TopLast Changed 4 Apr 1997

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.