|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: s
Length: 4595 (0x11f3)
Names: »shmctl.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/shmctl.2«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆
0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 6d 63 74 6c 28 32 29 0a 0a 0a 0a ┆s shmctl(2) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 73 68 6d 63 74 6c 20 2d 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 63 6f 6e 74 72 6f 6c ┆ shmctl - shared memory control┆
0x00a0…00c0 20 6f 70 65 72 61 74 69 6f 6e 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e ┆ operations S S S SY Y Y YN N N┆
0x00c0…00e0 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 ┆ NT T T TA A A AX X X X # #┆
0x00e0…0100 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c ┆ # #i i i in n n nc c c cl l l l┆
0x0100…0120 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 ┆u u u ud d d de e e e < < < <s s┆
0x0120…0140 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 ┆ s sy y y ys s s s/ / / /t t t t┆
0x0140…0160 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 73 08 73 08 73 08 73 2e 08 2e 08 ┆y y y yp p p pe e e es s s s. . ┆
0x0160…0180 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 ┆. .h h h h> > > > # # # #i ┆
0x0180…01a0 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 ┆i i in n n nc c c cl l l lu u u ┆
0x01a0…01c0 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 ┆ud d d de e e e < < < <s s s sy ┆
0x01c0…01e0 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 70 08 70 08 70 08 ┆y y ys s s s/ / / /i i i ip p p ┆
0x01e0…0200 70 63 08 63 08 63 08 63 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 ┆pc c c c. . . .h h h h> > > > ┆
0x0200…0220 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c ┆ # # # #i i i in n n nc c c cl┆
0x0220…0240 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 ┆ l l lu u u ud d d de e e e < < ┆
0x0240…0260 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 ┆< <s s s sy y y ys s s s/ / / /s┆
0x0260…0280 08 73 08 73 08 73 68 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e 08 2e 68 08 68 08 68 ┆ s s sh h h hm m m m. . . .h h h┆
0x0280…02a0 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 ┆ h> > > > i i i in n n nt ┆
0x02a0…02c0 74 08 74 08 74 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 63 08 63 08 63 ┆t t t s s s sh h h hm m m mc c c┆
0x02c0…02e0 08 63 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 68 ┆ ct t t tl l l l ( ( ( (s s s sh┆
0x02e0…0300 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 64 08 64 08 64 08 64 2c 08 2c 08 2c ┆ h h hm m m mi i i id d d d, , ,┆
0x0300…0320 08 2c 20 63 08 63 08 63 08 63 6d 08 6d 08 6d 08 6d 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 ┆ , c c c cm m m md d d d, , , , ┆
0x0320…0340 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 29 08 29 08 29 08 29 0a 20 20 20 ┆b b b bu u u uf f f f) ) ) ) ┆
0x0340…0360 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 68 ┆ i i i in n n nt t t t s s s sh┆
0x0360…0380 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 64 08 64 08 64 08 64 2c 08 2c 08 2c ┆ h h hm m m mi i i id d d d, , ,┆
0x0380…03a0 08 2c 20 63 08 63 08 63 08 63 6d 08 6d 08 6d 08 6d 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a ┆ , c c c cm m m md d d d; ; ; ; ┆
0x03a0…03c0 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 ┆ s s s st t t tr r r ru u u ┆
0x03c0…03e0 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6d 08 ┆uc c c ct t t t s s s sh h h hm ┆
0x03e0…0400 6d 08 6d 08 6d 69 08 69 08 69 08 69 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f 64 08 64 08 64 08 ┆m m mi i i id d d d_ _ _ _d d d ┆
0x0400…0420 64 73 08 73 08 73 08 73 20 2a 08 2a 08 2a 08 2a 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 ┆ds s s s * * * *b b b bu u u uf ┆
0x0420…0440 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 ┆f f f; ; ; ; D D D DE E E ES S ┆
0x0440…0460 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 ┆S SC C C CR R R RI I I IP P P PT┆
0x0460…0480 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 ┆ T T TI I I IO O O ON N N N ┆
0x0480…04a0 20 5f 08 53 5f 08 68 5f 08 6d 5f 08 63 5f 08 74 5f 08 6c 20 70 72 6f 76 69 64 65 73 20 61 20 76 ┆ _ S_ h_ m_ c_ t_ l provides a v┆
0x04a0…04c0 61 72 69 65 74 79 20 6f 66 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 63 6f 6e 74 72 6f 6c 20 ┆ariety of shared memory control ┆
0x04c0…04e0 6f 70 65 72 61 2d 0a 20 20 20 20 20 74 69 6f 6e 73 20 61 73 20 73 70 65 63 69 66 69 65 64 20 62 ┆opera- tions as specified b┆
0x04e0…0500 79 20 5f 08 63 5f 08 6d 5f 08 64 2e 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 5f 08 63 5f ┆y _ c_ m_ d. The following _ c_┆
0x0500…0520 08 6d 5f 08 64 73 20 61 72 65 20 61 76 61 69 6c 2d 0a 20 20 20 20 20 61 62 6c 65 3a 0a 0a 20 20 ┆ m_ ds are avail- able: ┆
0x0520…0540 20 20 20 20 20 20 20 20 49 08 49 08 49 08 49 50 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f ┆ I I I IP P P PC C C C_ _┆
0x0540…0560 08 5f 08 5f 53 08 53 08 53 08 53 54 08 54 08 54 08 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 ┆ _ _S S S ST T T TA A A AT T T T┆
0x0560…0580 20 20 20 50 6c 61 63 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 65 61 ┆ Place the current value of ea┆
0x0580…05a0 63 68 20 6d 65 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ch member of ┆
0x05a0…05c0 20 20 74 68 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 ┆ the data structure associated ┆
0x05c0…05e0 77 69 74 68 20 5f 08 73 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 0a 20 20 20 20 20 20 20 20 20 20 20 ┆with _ s_ h_ m_ i_ d ┆
0x05e0…0600 20 20 20 20 20 20 20 20 20 20 69 6e 74 6f 20 74 68 65 20 73 74 72 75 63 74 75 72 65 20 70 6f 69 ┆ into the structure poi┆
0x0600…0620 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 62 5f 08 75 5f 08 66 2e 20 20 54 68 65 0a 20 20 20 20 20 ┆nted to by _ b_ u_ f. The ┆
0x0620…0640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 ┆ contents of this┆
0x0640…0660 20 73 74 72 75 63 74 75 72 65 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 20 20 ┆ structure are defined in ┆
0x0660…0680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 69 5f 08 6e 5f 08 74 5f 08 72 5f 08 6f 28 32 ┆ _ i_ n_ t_ r_ o(2┆
0x0680…06a0 29 2e 20 20 7b 52 45 41 44 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 49 08 49 08 49 08 49 50 08 50 ┆). {READ} I I I IP P┆
0x06a0…06c0 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 53 08 53 08 53 08 53 45 08 45 08 45 08 45 ┆ P PC C C C_ _ _ _S S S SE E E E┆
0x06c0…06e0 54 08 54 08 54 08 54 20 20 20 20 53 65 74 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 ┆T T T T Set the value of the ┆
0x06e0…0700 66 6f 6c 6c 6f 77 69 6e 67 20 6d 65 6d 62 65 72 73 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 ┆following members of ┆
0x0700…0720 20 20 20 20 20 20 20 20 20 20 74 68 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73 73 ┆ the data structure ass┆
0x0720…0740 6f 63 69 61 74 65 64 20 77 69 74 68 20 5f 08 73 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 20 74 6f 0a ┆ociated with _ s_ h_ m_ i_ d to ┆
0x0740…0760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 6f 72 72 65 73 70 ┆ the corresp┆
0x0760…0780 6f 6e 64 69 6e 67 20 76 61 6c 75 65 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 73 74 72 75 63 2d ┆onding value found in the struc-┆
0x0780…07a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 75 72 65 20 70 6f 69 6e 74 ┆ ture point┆
0x07a0…07c0 65 64 20 74 6f 20 62 79 20 5f 08 62 5f 08 75 5f 08 66 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ed to by _ b_ u_ f: ┆
0x07c0…07e0 20 20 20 20 20 20 20 20 20 73 68 6d 5f 70 65 72 6d 2e 75 69 64 0a 20 20 20 20 20 20 20 20 20 20 ┆ shm_perm.uid ┆
0x07e0…0800 20 20 20 20 20 20 20 20 20 20 20 73 68 6d 5f 70 65 72 6d 2e 67 69 64 0a 20 20 20 20 20 20 20 20 ┆ shm_perm.gid ┆
0x0800…0820 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 6d 5f 70 65 72 6d 2e 6d 6f 64 65 20 2f 2a 20 6f 6e ┆ shm_perm.mode /* on┆
0x0820…0840 6c 79 20 6c 6f 77 20 39 20 62 69 74 73 20 2a 2f 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ly low 9 bits */ ┆
0x0840…0860 20 20 20 20 20 20 20 54 68 69 73 20 5f 08 63 5f 08 6d 5f 08 64 20 63 61 6e 20 6f 6e 6c 79 20 62 ┆ This _ c_ m_ d can only b┆
0x0860…0880 65 20 65 78 65 63 75 74 65 64 20 62 79 20 61 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 20 20 20 ┆e executed by a process ┆
0x0880…08a0 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 74 20 68 61 73 20 61 6e 20 65 66 66 65 63 74 69 ┆ that has an effecti┆
0x08a0…08c0 76 65 20 75 73 65 72 20 49 44 20 65 71 75 61 6c 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ve user ID equal to ┆
0x08c0…08e0 20 20 20 20 20 20 20 20 20 65 69 74 68 65 72 20 74 68 61 74 20 6f 66 20 73 75 70 65 72 20 75 73 ┆ either that of super us┆
0x08e0…0900 65 72 20 6f 72 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 ┆er or to the value of ┆
0x0900…0920 20 20 20 20 20 20 20 20 20 20 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d ┆ s s s sh h h hm m m m┆
0x0920…0940 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 72 08 72 08 72 08 72 6d 08 6d 08 ┆_ _ _ _p p p pe e e er r r rm m ┆
0x0940…0960 6d 08 6d 2e 08 2e 08 2e 08 2e 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 ┆m m. . . .u u u ui i i id d d d ┆
0x0960…0980 69 6e 20 74 68 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 63 69 2d 0a 20 20 ┆in the data structure associ- ┆
0x0980…09a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 74 65 64 20 77 69 74 68 20 5f 08 73 ┆ ated with _ s┆
0x09a0…09c0 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 49 08 49 08 49 08 49 ┆_ h_ m_ i_ d. I I I I┆
0x09c0…09e0 50 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 52 08 52 08 52 08 52 4d 08 4d 08 ┆P P P PC C C C_ _ _ _R R R RM M ┆
0x09e0…0a00 4d 08 4d 49 08 49 08 49 08 49 44 08 44 08 44 08 44 20 20 20 52 65 6d 6f 76 65 20 74 68 65 20 73 ┆M MI I I ID D D D Remove the s┆
0x0a00…0a20 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 69 64 65 6e 74 69 66 69 65 72 20 73 70 65 63 69 2d 0a 20 ┆hared memory identifier speci- ┆
0x0a20…0a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 65 64 20 62 79 20 5f 08 73 5f ┆ fied by _ s_┆
0x0a40…0a60 08 68 5f 08 6d 5f 08 69 5f 08 64 20 66 72 6f 6d 20 74 68 65 20 73 79 73 74 65 6d 20 61 6e 64 20 ┆ h_ m_ i_ d from the system and ┆
0x0a60…0a80 64 65 73 74 72 6f 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 ┆destroy the┆
0x0a80…0aa0 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 73 65 67 6d 65 6e 74 20 61 6e 64 20 64 61 74 61 20 ┆ shared memory segment and data ┆
0x0aa0…0ac0 73 74 72 75 63 74 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 ┆structure a┆
0x0ac0…0ae0 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 69 74 2e 20 20 54 68 69 73 20 5f 08 63 5f 08 6d 5f ┆ssociated with it. This _ c_ m_┆
0x0ae0…0b00 08 64 20 63 61 6e 20 6f 6e 6c 79 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ d can only be ┆
0x0b00…0b20 20 20 20 20 65 78 65 63 75 74 65 64 20 62 79 20 61 20 70 72 6f 63 65 73 73 20 74 68 61 74 20 68 ┆ executed by a process that h┆
0x0b20…0b40 61 73 20 61 6e 20 65 66 66 65 63 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆as an effective ┆
0x0b40…0b60 20 20 20 20 20 75 73 65 72 20 49 44 20 65 71 75 61 6c 20 74 6f 20 65 69 74 68 65 72 20 74 68 61 ┆ user ID equal to either tha┆
0x0b60…0b80 74 20 6f 66 20 73 75 70 65 72 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆t of super user ┆
0x0b80…0ba0 20 20 20 20 20 6f 72 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 73 08 73 08 73 08 73 68 ┆ or to the value of s s s sh┆
0x0ba0…0bc0 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 08 65 08 65 ┆ h h hm m m m_ _ _ _p p p pe e e┆
0x0bc0…0be0 08 65 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e 08 2e 75 08 75 08 75 08 75 69 08 ┆ er r r rm m m m. . . .u u u ui ┆
0x0be0…0c00 69 08 69 08 69 64 08 64 08 64 08 64 20 69 6e 20 74 68 65 20 64 61 74 61 0a 20 20 20 20 20 20 20 ┆i i id d d d in the data ┆
0x0c00…0c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 63 69 61 74 ┆ structure associat┆
0x0c20…0c40 65 64 20 77 69 74 68 20 5f 08 73 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 2e 0a 0a 20 20 20 20 20 20 ┆ed with _ s_ h_ m_ i_ d. ┆
0x0c40…0c60 20 20 20 20 5f 08 53 5f 08 68 5f 08 6d 5f 08 63 5f 08 74 5f 08 6c 20 77 69 6c 6c 20 66 61 69 6c ┆ _ S_ h_ m_ c_ t_ l will fail┆
0x0c60…0c80 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆ if one or more of the following┆
0x0c80…0ca0 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 ┆ are true: ┆
0x0ca0…0cc0 20 20 20 20 20 5f 08 53 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 20 69 73 20 6e 6f 74 20 61 20 76 61 ┆ _ S_ h_ m_ i_ d is not a va┆
0x0cc0…0ce0 6c 69 64 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 69 64 65 6e 74 69 66 69 65 72 2e 0a 20 20 ┆lid shared memory identifier. ┆
0x0ce0…0d00 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 0a 0a 20 20 20 20 20 20 20 20 20 ┆ [EINVAL] ┆
0x0d00…0d20 20 20 20 20 20 20 5f 08 43 5f 08 6d 5f 08 64 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 63 ┆ _ C_ m_ d is not a valid c┆
0x0d20…0d40 6f 6d 6d 61 6e 64 2e 20 20 5b 45 49 4e 56 41 4c 5d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ommand. [EINVAL] ┆
0x0d40…0d60 20 20 5f 08 43 5f 08 6d 5f 08 64 20 69 73 20 65 71 75 61 6c 20 74 6f 20 49 08 49 08 49 08 49 50 ┆ _ C_ m_ d is equal to I I I IP┆
0x0d60…0d80 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 53 08 53 08 53 08 53 54 08 54 08 54 ┆ P P PC C C C_ _ _ _S S S ST T T┆
0x0d80…0da0 08 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 20 61 6e 64 20 7b 52 45 41 44 7d 20 6f 70 65 72 ┆ TA A A AT T T T and {READ} oper┆
0x0da0…0dc0 61 74 69 6f 6e 20 70 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 73 73 69 6f ┆ation per- missio┆
0x0dc0…0de0 6e 20 69 73 20 64 65 6e 69 65 64 20 74 6f 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 ┆n is denied to the calling proce┆
0x0de0…0e00 73 73 20 28 73 65 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 69 5f 08 6e 5f 08 74 ┆ss (see _ i_ n_ t┆
0x0e00…0e20 5f 08 72 5f 08 6f 28 32 29 29 2e 20 20 5b 45 41 43 43 45 53 5d 0a 0a 20 20 20 20 20 20 20 20 20 ┆_ r_ o(2)). [EACCES] ┆
0x0e20…0e40 20 20 20 20 20 20 5f 08 43 5f 08 6d 5f 08 64 20 69 73 20 65 71 75 61 6c 20 74 6f 20 49 08 49 08 ┆ _ C_ m_ d is equal to I I ┆
0x0e40…0e60 49 08 49 50 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 52 08 52 08 52 08 52 4d ┆I IP P P PC C C C_ _ _ _R R R RM┆
0x0e60…0e80 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 44 08 44 08 44 08 44 20 6f 72 20 49 08 49 08 49 08 49 50 ┆ M M MI I I ID D D D or I I I IP┆
0x0e80…0ea0 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 53 08 53 08 53 08 53 45 08 45 08 45 ┆ P P PC C C C_ _ _ _S S S SE E E┆
0x0ea0…0ec0 08 45 54 08 54 08 54 08 54 20 61 6e 64 20 74 68 65 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 ┆ ET T T T and the ┆
0x0ec0…0ee0 20 20 20 20 20 20 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 20 6f 66 20 74 68 65 20 ┆ effective user ID of the ┆
0x0ee0…0f00 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 ┆calling process is not ┆
0x0f00…0f20 20 20 20 20 20 20 65 71 75 61 6c 20 74 6f 20 74 68 61 74 20 6f 66 20 73 75 70 65 72 20 75 73 65 ┆ equal to that of super use┆
0x0f20…0f40 72 20 61 6e 64 20 69 74 20 69 73 20 6e 6f 74 20 65 71 75 61 6c 20 74 6f 0a 20 20 20 20 20 20 20 ┆r and it is not equal to ┆
0x0f40…0f60 20 20 20 20 20 20 20 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 73 08 73 08 73 08 73 68 08 68 08 ┆ the value of s s s sh h ┆
0x0f60…0f80 68 08 68 6d 08 6d 08 6d 08 6d 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 72 ┆h hm m m m_ _ _ _p p p pe e e er┆
0x0f80…0fa0 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e 08 2e 75 08 75 08 75 08 75 69 08 69 08 69 ┆ r r rm m m m. . . .u u u ui i i┆
0x0fa0…0fc0 08 69 64 08 64 08 64 08 64 20 69 6e 20 74 68 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 0a ┆ id d d d in the data structure ┆
0x0fc0…0fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 5f ┆ associated with _┆
0x0fe0…1000 08 73 5f 08 68 5f 08 6d 5f 08 69 5f 08 64 2e 20 20 5b 45 50 45 52 4d 5d 0a 0a 20 20 20 20 20 20 ┆ s_ h_ m_ i_ d. [EPERM] ┆
0x1000…1020 20 20 20 20 20 20 20 20 20 5f 08 42 5f 08 75 5f 08 66 20 70 6f 69 6e 74 73 20 74 6f 20 61 6e 20 ┆ _ B_ u_ f points to an ┆
0x1020…1040 69 6c 6c 65 67 61 6c 20 61 64 64 72 65 73 73 2e 20 20 5b 45 46 41 55 4c 54 5d 0a 0a 52 08 52 08 ┆illegal address. [EFAULT] R R ┆
0x1040…1060 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e ┆R RE E E ET T T TU U U UR R R RN┆
0x1060…1080 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 ┆ N N N V V V VA A A AL L L LU U ┆
0x1080…10a0 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 ┆U UE E E E Upon successful ┆
0x10a0…10c0 63 6f 6d 70 6c 65 74 69 6f 6e 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 30 20 69 73 20 72 65 74 75 ┆completion, a value of 0 is retu┆
0x10c0…10e0 72 6e 65 64 2e 20 4f 74 68 65 72 2d 0a 20 20 20 20 20 77 69 73 65 2c 20 61 20 76 61 6c 75 65 20 ┆rned. Other- wise, a value ┆
0x10e0…1100 6f 66 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f ┆of -1 is returned and _ e_ r_ r_┆
0x1100…1120 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65 0a 20 20 20 20 20 74 68 ┆ n_ o is set to indicate th┆
0x1120…1140 65 20 65 72 72 6f 72 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 ┆e error. S S S SE E E EE E E E ┆
0x1140…1160 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 ┆A A A AL L L LS S S SO O O O ┆
0x1160…1180 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 73 68 6d 67 65 74 2c 20 73 68 6d ┆ System Calls (2): shmget, shm┆
0x1180…11a0 6f 70 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆op. March 1989 ┆
0x11a0…11c0 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 ┆ TX Programmer's Ref┆
0x11c0…11e0 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆erence ┆
0x11e0…11f3 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆