MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Headers                                              shm.h(3HEAD)



NAME
     shm.h, shm -  shared memory facility

SYNOPSIS
     #include 


DESCRIPTION
     The  header defines the following  symbolic  con-
     stants:

     SHMRDONLY    attach read-only (else read-write)


     SHMRND       round attach address to SHMLBA



     The  header defines the following symbolic value:

     SHMLBA    segment low boundary address multiple



     The following data types are defined through typedef:

     shmattt    Unsigned integer used for the number of  current
                 attaches  that  must  be able to store values at
                 least as large as a type unsigned short.



     The shmidds structure contains the following members:

       struct ipcperm shmperm       /* operation permission structure */
       sizet          shmsegsz      /* size of segment in bytes */
       pidt           shmlpid       /* process ID of last shared memory
                                         operation */
       pidt           shmcpid       /* process ID of creator */
       shmattt        shmnattch     /* number of current attaches */
       timet          shmatime      /* time of last shmat() */
       timet          shmdtime      /* time of last shmdt() */
       timet          shmctime      /* time of last change by shmctl() */



     The pidt, timet, keyt, and sizet types  are  defined  as
     described in . See types.h(3HEAD).


     In addition, all of the symbols from  are defined
     when this header is included.



SunOS 5.11          Last change: 10 Sep 2004                    1






Headers                                              shm.h(3HEAD)



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



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    


SEE ALSO
     shmctl(2),      shmget(2),      shmop(2),      ipc.h(3HEAD),
     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 ™