[KULUA] file descriptor question
    David Nicol 
    nicold at umkc.edu
       
    Thu Nov 29 22:57:05 CST 2001
    
    
  
man 7 unix is promising:
       ANCILLARY MESSAGES
       For  historical  reasons  these ancillary message type are
       specified with a SOL_SOCKET  type  even  though  they  are
       PF_UNIX  specific.   To send them set the cmsg_level field
       of the struct cmsghdr  to  SOL_SOCKET  and  the  cmsg_type
       field to the type. For more information see cmsg(3).
       SCM_RIGHTS
              Send or receive a set of open file descriptors from
              another process.  The data portion contains a inte
              ger array of the file descriptors.  The passed file
              descriptors behave as like they have  been  created
              with dup(2).
thanks, all!
    
    
More information about the Kclug
mailing list