1<assertions> 2 <assertion id="1" tag="ref:XBD6:{Headers:sys/shm.h:SYNOPSIS} pt:XSI"> 3 The sys/shm.h header file exists 4 </assertion> 5 <assertion id="2" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 6 The header define the following symbolic constants: 7 - SHM_RDONLY 8 - SHM_RND 9 </assertion> 10 <assertion id="3" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 11 The header define the following symbolic value: 12 - SHMLBA 13 </assertion> 14 <assertion id="4" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 15 The header define the following type through typedef: 16 - shmatt_t 17 </assertion> 18 <assertion id="5" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 19 The shmatt_t type is an unsigned integer that must be able to store values 20 at least as large than unsigned short. 21 </assertion> 22 <assertion id="6" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 23 The header declares struct shmid_ds with the members below, at a minimum: 24 struct ipc_perm shm_perm 25 size_t shm_segsz 26 pid_t shm_lpid 27 pid_t shm_cpid 28 shmatt_t shm_nattach 29 time_t shm_atime 30 time_t shm_dtime 31 time_t shm_ctime 32 </assertion> 33 <assertion id="7" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 34 The pid_t, time_t, key_t, and size_t types shall be defined as described in 35 sys/types.h 36 </assertion> 37 <assertion id="8" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 38 This function is defined: 39 void *shmat(int, const void *, int) 40 </assertion> 41 <assertion id="9" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 42 This function is defined: 43 int shmctl(int, int, struct shmid_ds *) 44 </assertion> 45 <assertion id="10" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 46 This function is defined: 47 int shmdt(const void *) 48 </assertion> 49 <assertion id="11" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 50 This function is defined: 51 int shmget(key_t, size_t, int) 52 </assertion> 53 <assertion id="12" tag="ref:XBD6:{Headers:sys/shm.h:DESCRIPTION}"> 54 All of the symbols from sys/ipc.h are defined when the sys/shm.h header is 55 included 56 </assertion> 57</assertions> 58