lib/misc/un.h
changeset 0 6f7a81934006
equal deleted inserted replaced
-1:000000000000 0:6f7a81934006
       
     1 #ifndef VMAILMGR__UN__H__
       
     2 #define VMAILMGR__UN__H__
       
     3 
       
     4 #include <sys/socket.h>
       
     5 #include <sys/un.h>
       
     6 
       
     7 #ifndef SUN_LEN
       
     8 /* Evaluate to actual length of the `sockaddr_un' structure.  */
       
     9 #define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path)	      \
       
    10 		      + strlen ((ptr)->sun_path))
       
    11 #endif
       
    12 
       
    13 #endif