|
|
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: m
Length: 5093 (0x13e5)
Names: »msgctl.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/msgctl.3«
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 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 63 74 6c 28 33 29 0a 0a 0a 0a ┆ions msgctl(3) ┆ 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 6d 73 67 63 74 6c 20 2d 20 6d 65 73 73 61 67 65 20 63 6f 6e 74 72 6f 6c 20 6f 70 65 72 61 ┆ msgctl - message control opera┆ 0x00a0…00c0 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 08 4e 54 08 54 08 ┆tions S S S SY Y Y YN N N NT T ┆ 0x00c0…00e0 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 08 23 08 23 69 08 ┆T TA A A AX X X X # # # #i ┆ 0x00e0…0100 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 ┆ 0x0100…0120 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 ┆ 0x0120…0140 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 79 08 79 08 79 08 ┆y y ys s s s/ / / /t t t ty y y ┆ 0x0140…0160 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 2e 08 2e 68 08 68 ┆yp p p pe e e es s s s. . . .h h┆ 0x0160…0180 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 69 08 69 08 69 6e ┆ h h> > > > # # # #i i i in┆ 0x0180…01a0 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 75 64 08 64 08 64 ┆ n n nc c c cl l l lu u u ud d d┆ 0x01a0…01c0 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 79 08 79 08 79 73 ┆ de e e e < < < <s s s sy y y ys┆ 0x01c0…01e0 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 70 63 08 63 08 63 ┆ s s s/ / / /i i i ip p p pc c c┆ 0x01e0…0200 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 20 20 20 23 08 23 ┆ c. . . .h h h h> > > > # #┆ 0x0200…0220 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┆ 0x0220…0240 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┆ 0x0240…0260 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 6d 08 6d 08 6d 08 6d ┆ s sy y y ys s s s/ / / /m m m m┆ 0x0260…0280 73 08 73 08 73 08 73 67 08 67 08 67 08 67 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 ┆s s s sg g g g. . . .h h h h> > ┆ 0x0280…02a0 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 74 08 74 08 74 20 ┆> > i i i in n n nt t t t ┆ 0x02a0…02c0 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 63 08 63 08 63 08 63 74 08 74 08 ┆m m m ms s s sg g g gc c c ct t ┆ 0x02c0…02e0 74 08 74 6c 08 6c 08 6c 08 6c 28 08 28 08 28 08 28 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 ┆t tl l l l( ( ( (m m m ms s s sq┆ 0x02e0…0300 08 71 08 71 08 71 69 08 69 08 69 08 69 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 63 08 63 08 ┆ q q qi i i id d d d, , , , c c ┆ 0x0300…0320 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 62 08 62 08 62 08 62 ┆c cm m m md d d d, , , , b b b b┆ 0x0320…0340 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 20 20 69 08 69 08 69 ┆u u u uf f f f) ) ) ) i i i┆ 0x0340…0360 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 ┆ in n n nt t t t m m m ms s s sq┆ 0x0360…0380 08 71 08 71 08 71 69 08 69 08 69 08 69 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 63 08 63 08 ┆ q q qi i i id d d d, , , , c c ┆ 0x0380…03a0 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 20 20 20 20 20 73 08 ┆c cm m m md d d d; ; ; ; s ┆ 0x03a0…03c0 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 75 63 08 63 08 63 08 ┆s s st t t tr r r ru u u uc c c ┆ 0x03c0…03e0 63 74 08 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 08 71 08 71 08 71 69 08 ┆ct t t t m m m ms s s sq q q qi ┆ 0x03e0…0400 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 64 73 08 73 08 73 08 ┆i i id d d d_ _ _ _d d d ds s s ┆ 0x0400…0420 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 66 08 66 08 66 3b 08 ┆s * * * *b b b bu u u uf f f f; ┆ 0x0420…0440 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 53 08 53 43 08 43 08 ┆; ; ; D D D DE E E ES S S SC C ┆ 0x0440…0460 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 08 54 08 54 08 54 49 ┆C CR R R RI I I IP P P PT T T TI┆ 0x0460…0480 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 20 5f 08 6d 5f 08 73 ┆ I I IO O O ON N N N _ m_ s┆ 0x0480…04a0 5f 08 67 5f 08 63 5f 08 74 5f 08 6c 20 70 72 6f 76 69 64 65 73 20 61 20 76 61 72 69 65 74 79 20 ┆_ g_ c_ t_ l provides a variety ┆ 0x04a0…04c0 6f 66 20 6d 65 73 73 61 67 65 20 63 6f 6e 74 72 6f 6c 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 73 ┆of message control operations as┆ 0x04c0…04e0 0a 20 20 20 20 20 73 70 65 63 69 66 69 65 64 20 62 79 20 5f 08 63 5f 08 6d 5f 08 64 2e 20 20 54 ┆ specified by _ c_ m_ d. T┆ 0x04e0…0500 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 76 61 6c 75 65 73 20 66 6f 72 20 5f 08 63 5f 08 6d 5f 08 ┆he following values for _ c_ m_ ┆ 0x0500…0520 64 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20 6d 65 73 73 61 67 65 2d 63 6f 6e 74 72 6f 6c 20 6f ┆d and the message-control o┆ 0x0520…0540 70 65 72 61 74 69 6f 6e 73 20 74 68 65 79 20 73 70 65 63 69 66 79 20 61 72 65 20 61 76 61 69 6c ┆perations they specify are avail┆ 0x0540…0560 61 62 6c 65 3a 0a 0a 20 20 20 20 20 49 50 43 5f 53 54 41 54 20 20 20 20 20 20 20 50 6c 61 63 65 ┆able: IPC_STAT Place┆ 0x0560…0580 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 65 61 63 68 20 6d 65 6d 62 65 ┆ the current value of each membe┆ 0x0580…05a0 72 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 08 6d ┆r of the m m┆ 0x05a0…05c0 08 6d 08 6d 73 08 73 08 73 08 73 71 08 71 08 71 08 71 69 08 69 08 69 08 69 64 08 64 08 64 08 64 ┆ m ms s s sq q q qi i i id d d d┆ 0x05c0…05e0 5f 08 5f 08 5f 08 5f 64 08 64 08 64 08 64 73 08 73 08 73 08 73 20 64 61 74 61 20 73 74 72 75 63 ┆_ _ _ _d d d ds s s s data struc┆ 0x05e0…0600 74 75 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 5f 08 6d 5f 08 73 5f 08 71 5f 08 ┆ture associated with _ m_ s_ q_ ┆ 0x0600…0620 69 5f 08 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 6f 20 74 68 ┆i_ d into th┆ 0x0620…0640 65 20 73 74 72 75 63 74 75 72 65 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 62 5f 08 75 ┆e structure pointed to by _ b_ u┆ 0x0640…0660 5f 08 66 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f ┆_ f. The co┆ 0x0660…0680 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 73 74 72 75 63 74 75 72 65 20 61 72 65 20 64 65 66 ┆ntents of this structure are def┆ 0x0680…06a0 69 6e 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 08 3c 08 ┆ined in < < ┆ 0x06a0…06c0 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 6d ┆< <s s s sy y y ys s s s/ / / /m┆ 0x06c0…06e0 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 2e 08 2e 08 2e 08 2e 68 08 68 08 68 ┆ m m ms s s sg g g g. . . .h h h┆ 0x06e0…0700 08 68 3e 08 3e 08 3e 08 3e 2e 0a 0a 20 20 20 20 20 49 50 43 5f 53 45 54 20 20 20 20 20 20 20 20 ┆ h> > > >. IPC_SET ┆ 0x0700…0720 53 65 74 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6d ┆Set the value of the following m┆ 0x0720…0740 65 6d 62 65 72 73 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆embers of the ┆ 0x0740…0760 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 08 71 08 71 08 71 69 08 69 08 69 08 69 64 08 ┆ m m m ms s s sq q q qi i i id ┆ 0x0760…0780 64 08 64 08 64 5f 08 5f 08 5f 08 5f 64 08 64 08 64 08 64 73 08 73 08 73 08 73 20 64 61 74 61 20 ┆d d d_ _ _ _d d d ds s s s data ┆ 0x0780…07a0 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 5f 08 6d 5f 08 73 ┆structure associated with _ m_ s┆ 0x07a0…07c0 5f 08 71 5f 08 69 5f 08 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f ┆_ q_ i_ d to┆ 0x07c0…07e0 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 76 61 6c 75 65 20 66 6f 75 6e 64 20 69 ┆ the corresponding value found i┆ 0x07e0…0800 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 ┆n the struct┆ 0x0800…0820 75 72 65 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 62 5f 08 75 5f 08 66 3a 0a 0a 20 20 ┆ure pointed to by _ b_ u_ f: ┆ 0x0820…0840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 5f 70 65 72 6d 2e 75 69 64 0a 20 ┆ msg_perm.uid ┆ 0x0840…0860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 5f 70 65 72 6d 2e 67 69 64 0a ┆ msg_perm.gid ┆ 0x0860…0880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 5f 70 65 72 6d 2e 6d 6f 64 ┆ msg_perm.mod┆ 0x0880…08a0 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 5f 71 62 79 74 65 73 ┆e msg_qbytes┆ 0x08a0…08c0 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 50 43 5f 53 45 54 20 63 61 ┆ IPC_SET ca┆ 0x08c0…08e0 6e 20 6f 6e 6c 79 20 62 65 20 65 78 65 63 75 74 65 64 20 62 79 20 61 20 70 72 6f 63 65 73 73 0a ┆n only be executed by a process ┆ 0x08e0…0900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 74 20 69 73 20 73 75 70 65 ┆ that is supe┆ 0x0900…0920 72 2d 75 73 65 72 2c 20 6f 72 20 74 68 61 74 20 68 61 73 20 61 6e 20 65 66 66 65 63 74 69 76 65 ┆r-user, or that has an effective┆ 0x0920…0940 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 72 20 49 44 20 65 71 75 ┆ user ID equ┆ 0x0940…0960 61 6c 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 6d 5f 08 73 5f 08 67 5f 5f 08 70 ┆al to the value of _ m_ s_ g__ p┆ 0x0960…0980 5f 08 65 5f 08 72 5f 08 6d 2e 5f 08 63 5f 08 75 5f 08 69 5f 08 64 0a 20 20 20 20 20 20 20 20 20 ┆_ e_ r_ m._ c_ u_ i_ d ┆ 0x0980…09a0 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 5f 08 6d 5f 08 73 5f 08 67 5f 5f 08 70 5f 08 65 5f 08 ┆ or _ m_ s_ g__ p_ e_ ┆ 0x09a0…09c0 72 5f 08 6d 2e 5f 08 75 5f 08 69 5f 08 64 20 69 6e 20 74 68 65 20 6d 08 6d 08 6d 08 6d 73 08 73 ┆r_ m._ u_ i_ d in the m m m ms s┆ 0x09c0…09e0 08 73 08 73 71 08 71 08 71 08 71 69 08 69 08 69 08 69 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f ┆ s sq q q qi i i id d d d_ _ _ _┆ 0x09e0…0a00 64 08 64 08 64 08 64 73 08 73 08 73 08 73 20 64 61 74 61 20 73 74 72 75 63 2d 0a 20 20 20 20 20 ┆d d d ds s s s data struc- ┆ 0x0a00…0a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 75 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 ┆ ture associated w┆ 0x0a20…0a40 69 74 68 20 5f 08 6d 5f 08 73 5f 08 71 5f 08 69 5f 08 64 2e 20 20 4f 6e 6c 79 20 61 20 70 72 6f ┆ith _ m_ s_ q_ i_ d. Only a pro┆ 0x0a40…0a60 63 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 61 70 ┆cess with ap┆ 0x0a60…0a80 70 72 6f 70 72 69 61 74 65 20 70 72 69 76 69 6c 65 67 65 73 20 63 61 6e 20 72 61 69 73 65 20 74 ┆propriate privileges can raise t┆ 0x0a80…0aa0 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 20 6f 66 20 ┆he value of ┆ 0x0aa0…0ac0 5f 08 6d 5f 08 73 5f 08 71 5f 5f 08 71 5f 08 62 5f 08 79 5f 08 74 5f 08 65 5f 08 73 2e 0a 0a 20 ┆_ m_ s_ q__ q_ b_ y_ t_ e_ s. ┆ 0x0ac0…0ae0 20 20 20 20 49 50 43 5f 52 4d 49 44 20 20 20 20 20 20 20 52 65 6d 6f 76 65 20 74 68 65 20 6d 65 ┆ IPC_RMID Remove the me┆ 0x0ae0…0b00 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 73 70 65 63 69 66 69 65 64 ┆ssage queue identifier specified┆ 0x0b00…0b20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 79 20 5f 08 6d 5f 08 73 5f 08 ┆ by _ m_ s_ ┆ 0x0b20…0b40 71 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 64 65 73 74 ┆q_ i_ d from the system and dest┆ 0x0b40…0b60 72 6f 79 20 74 68 65 20 6d 65 73 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆roy the mes- ┆ 0x0b60…0b80 20 73 61 67 65 20 71 75 65 75 65 20 61 6e 64 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 08 ┆ sage queue and m m m ms s s sq ┆ 0x0b80…0ba0 71 08 71 08 71 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 ┆q q qi i i id d d d_ _ _ _d d d ┆ 0x0ba0…0bc0 64 73 08 73 08 73 08 73 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 2d 0a 20 20 ┆ds s s s data structure asso- ┆ 0x0bc0…0be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 69 61 74 65 64 20 77 69 74 68 20 69 74 ┆ ciated with it┆ 0x0be0…0c00 2e 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 65 20 65 78 ┆. This _ c_ m_ d can only be ex┆ 0x0c00…0c20 65 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 74 65 64 20 62 79 20 ┆e- cuted by ┆ 0x0c20…0c40 61 20 70 72 6f 63 65 73 73 20 74 68 61 74 20 68 61 73 20 61 6e 20 65 66 66 65 63 74 69 76 65 20 ┆a process that has an effective ┆ 0x0c40…0c60 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 44 20 65 71 75 61 ┆user ID equa┆ 0x0c60…0c80 6c 20 74 6f 20 65 69 74 68 65 72 20 74 68 61 74 20 6f 66 20 73 75 70 65 72 20 75 73 65 72 20 6f ┆l to either that of super user o┆ 0x0c80…0ca0 72 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 76 61 6c ┆r to the val┆ 0x0ca0…0cc0 75 65 20 6f 66 20 5f 08 6d 5f 08 73 5f 08 67 5f 5f 08 70 5f 08 65 5f 08 72 5f 08 6d 2e 5f 08 63 ┆ue of _ m_ s_ g__ p_ e_ r_ m._ c┆ 0x0cc0…0ce0 5f 08 75 5f 08 69 5f 08 64 20 6f 72 20 5f 08 6d 5f 08 73 5f 08 67 5f 5f 08 70 5f 08 65 5f 08 72 ┆_ u_ i_ d or _ m_ s_ g__ p_ e_ r┆ 0x0ce0…0d00 5f 08 6d 2e 5f 08 75 5f 08 69 5f 08 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆_ m._ u_ i_ d in ┆ 0x0d00…0d20 20 20 20 20 20 74 68 65 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 71 08 71 08 71 08 71 69 08 ┆ the m m m ms s s sq q q qi ┆ 0x0d20…0d40 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 64 73 08 73 08 73 08 ┆i i id d d d_ _ _ _d d d ds s s ┆ 0x0d40…0d60 73 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 77 69 74 68 ┆s data structure associated with┆ 0x0d60…0d80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 6d 5f 08 73 5f 08 71 5f 08 ┆ _ m_ s_ q_ ┆ 0x0d80…0da0 69 5f 08 64 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 ┆i_ d. R R R RE E E ET T T TU U ┆ 0x0da0…0dc0 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 ┆U UR R R RN N N N V V V VA A A A┆ 0x0dc0…0de0 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 ┆L L L LU U U UE E E E Upon ┆ 0x0de0…0e00 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e 2c 20 74 68 65 20 66 75 6e 63 74 ┆successful completion, the funct┆ 0x0e00…0e20 69 6f 6e 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 63 5f 08 74 5f 08 6c 20 72 65 74 75 72 6e 73 20 61 ┆ion _ m_ s_ g_ c_ t_ l returns a┆ 0x0e20…0e40 0a 20 20 20 20 20 76 61 6c 75 65 20 6f 66 20 30 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 61 20 ┆ value of 0. Otherwise, a ┆ 0x0e40…0e60 76 61 6c 75 65 20 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 ┆value of -1 is returned and _ e_┆ 0x0e60…0e80 08 72 5f 08 72 5f 08 6e 5f 08 6f 0a 20 20 20 20 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 ┆ r_ r_ n_ o is set to indic┆ 0x0e80…0ea0 61 74 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 ┆ate the error. E E E ER R R RR ┆ 0x0ea0…0ec0 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 ┆R R RO O O OR R R RS S S S ┆ 0x0ec0…0ee0 5f 08 6d 5f 08 73 5f 08 67 5f 08 63 5f 08 74 5f 08 6c 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 20 ┆_ m_ s_ g_ c_ t_ l will fail if ┆ 0x0ee0…0f00 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 20 61 72 65 ┆one or more of the following are┆ 0x0f00…0f20 20 74 72 75 65 3a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 ┆ true: [EINVAL] ┆ 0x0f20…0f40 20 20 5f 08 6d 5f 08 73 5f 08 71 5f 08 69 5f 08 64 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 ┆ _ m_ s_ q_ i_ d is not a valid┆ 0x0f40…0f60 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 2d 0a 20 20 20 20 20 20 20 20 ┆ message queue identif- ┆ 0x0f60…0f80 20 20 20 20 20 20 20 20 20 20 20 20 69 65 72 3b 20 6f 72 20 5f 08 63 5f 08 6d 5f 08 64 20 69 73 ┆ ier; or _ c_ m_ d is┆ 0x0f80…0fa0 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 63 6f 6d 6d 61 6e 64 2e 0a 0a 20 20 20 20 20 5b 45 41 43 ┆ not a valid command. [EAC┆ 0x0fa0…0fc0 43 45 53 5d 20 20 20 20 20 20 20 5f 08 63 5f 08 6d 5f 08 64 20 69 73 20 65 71 75 61 6c 20 74 6f ┆CES] _ c_ m_ d is equal to┆ 0x0fc0…0fe0 20 49 50 43 5f 53 54 41 54 20 61 6e 64 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 2d 0a 20 ┆ IPC_STAT and the calling pro- ┆ 0x0fe0…1000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 65 73 73 20 64 6f 65 73 20 6e 6f 74 ┆ cess does not┆ 0x1000…1020 20 68 61 76 65 20 72 65 61 64 20 70 65 72 6d 69 73 73 69 6f 6e 2e 20 20 53 65 65 0a 20 20 20 20 ┆ have read permission. See ┆ 0x1020…1040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 6f 5f 08 70 28 ┆ _ m_ s_ g_ o_ p(┆ 0x1040…1060 5f 08 33 29 20 66 75 6e 63 74 69 6f 6e 20 66 6f 72 20 70 65 72 6d 69 73 73 69 6f 6e 20 69 6e 66 ┆_ 3) function for permission inf┆ 0x1060…1080 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 5f ┆ormation. [EPERM] _┆ 0x1080…10a0 08 63 5f 08 6d 5f 08 64 20 69 73 20 65 71 75 61 6c 20 74 6f 20 49 50 43 5f 52 4d 49 44 20 6f 72 ┆ c_ m_ d is equal to IPC_RMID or┆ 0x10a0…10c0 20 49 50 43 5f 53 45 54 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ IPC_SET and the ┆ 0x10c0…10e0 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 63 61 ┆ effective user ID of the ca┆ 0x10e0…1100 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆lling process is ┆ 0x1100…1120 20 20 20 20 20 6e 6f 74 20 65 71 75 61 6c 20 74 6f 20 74 68 61 74 20 6f 66 20 73 75 70 65 72 20 ┆ not equal to that of super ┆ 0x1120…1140 75 73 65 72 20 61 6e 64 20 69 74 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆user and it is not ┆ 0x1140…1160 20 20 20 20 20 20 20 65 71 75 61 6c 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 6d ┆ equal to the value of _ m┆ 0x1160…1180 5f 08 73 5f 08 67 5f 5f 08 70 5f 08 65 5f 08 72 5f 08 6d 2e 5f 08 63 5f 08 75 5f 08 69 5f 08 64 ┆_ s_ g__ p_ e_ r_ m._ c_ u_ i_ d┆ 0x1180…11a0 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 6d 5f 08 73 5f 08 ┆ or _ m_ s_ ┆ 0x11a0…11c0 67 5f 5f 08 70 5f 08 65 5f 08 72 5f 08 6d 2e 5f 08 75 5f 08 69 5f 08 64 20 69 6e 20 74 68 65 20 ┆g__ p_ e_ r_ m._ u_ i_ d in the ┆ 0x11c0…11e0 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 0a 20 20 20 20 20 20 ┆data structure associated ┆ 0x11e0…1200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 5f 08 6d 5f 08 73 5f 08 71 5f 08 69 5f ┆ with _ m_ s_ q_ i_┆ 0x1200…1220 08 64 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 5f 08 63 5f 08 6d 5f ┆ d. [EPERM] _ c_ m_┆ 0x1220…1240 08 64 20 69 73 20 65 71 75 61 6c 20 74 6f 20 49 50 43 5f 53 45 54 2c 20 61 6e 20 61 74 74 65 6d ┆ d is equal to IPC_SET, an attem┆ 0x1240…1260 70 74 20 69 73 20 62 65 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆pt is being ┆ 0x1260…1280 6d 61 64 65 20 74 6f 20 69 6e 63 72 65 61 73 65 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 ┆made to increase to the value of┆ 0x1280…12a0 20 5f 08 6d 5f 08 73 5f 08 67 5f 5f 08 71 5f 08 62 5f 08 79 5f 08 74 5f 08 65 5f 08 73 2c 0a 20 ┆ _ m_ s_ g__ q_ b_ y_ t_ e_ s, ┆ 0x12a0…12c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 74 68 65 20 65 66 66 65 63 ┆ and the effec┆ 0x12c0…12e0 74 69 76 65 20 75 73 65 72 20 49 44 20 6f 66 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 2d ┆tive user ID of the calling pro-┆ 0x12e0…1300 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 65 73 73 20 69 73 20 6e 6f 74 ┆ cess is not┆ 0x1300…1320 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 72 2e 0a 0a 53 ┆ equal to that of super user. S┆ 0x1320…1340 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 ┆ S S SE E E EE E E E A A A AL L ┆ 0x1340…1360 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 ┆L LS S S SO O O O Library F┆ 0x1360…1380 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 6d 73 67 67 65 74 2c 20 6d 73 67 6f 70 0a 0a 44 65 ┆unctions (3): msgget, msgop De┆ 0x1380…13a0 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆cember 1990 ┆ 0x13a0…13c0 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 65 72 65 6e 63 65 0a ┆ TX Programmer's Reference ┆ 0x13c0…13e0 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 0a 0a 0a 0a 0a 0a ┆ ┆ 0x13e0…13e5 0a 0a 0a 0a 0a ┆ ┆