MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Headers                                              ipc.h(3HEAD)



NAME
     ipc.h, ipc - XSI interprocess communication access structure

SYNOPSIS
     #include 


DESCRIPTION
     The  header  is  used  by  three  mechanisms  for
     interprocess  communication (IPC): messages, semaphores, and
     shared memory. All use a common structure type, ipcperm, to
     pass  information  used in determining permission to perform
     an IPC operation.


     The ipcperm structure contains the following members:

       uidt  uid     /* owner's user ID */
       gidt  gid     /* owner's group ID */
       uidt  cuid    /* creator's user ID */
       gidt  cgid    /* creator's group ID */
       modet mode    /* read/write permission



     The uidt, gidt, modet, and keyt  types  are  defined  as
     described in . See types.h(3HEAD).


     Definitions are provided for the constants listed below.


     Mode bits:

     IPCREAT     Create entry if key does not exist.


     IPCEXCL      Fail if key exists.


     IPCNOWAIT    Error if request must wait.



     Keys:

     IPCPRIVATE    Private key.



     Control commands:




SunOS 5.11          Last change: 10 Sep 2004                    1






Headers                                              ipc.h(3HEAD)



     IPCRMID    Remove identifier.


     IPCSET     Set options.


     IPCSTAT    Get options.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    


SEE ALSO
     ftok(3C), types.h(3HEAD), attributes(5), standards(5)































SunOS 5.11          Last change: 10 Sep 2004                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™