DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: m

⟦6e03ac293⟧

    Length: 6976 (0x1b40)
    Names: »msgget.3«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat3/msgget.3« 

Default Hex Dump

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 67 65 74 28 33 29 0a 0a 0a 0a   ┆ions               msgget(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 67 65 74 20 2d 20 67 65 74 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 0a 0a 53 08   ┆  msgget - get message queue  S ┆
0x00a0…00c0 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08   ┆S S SY Y Y YN N N NT T T TA A A ┆
0x00c0…00e0 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08   ┆AX X X X      # # # #i i i in n ┆
0x00e0…0100 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 08 64 65   ┆n nc c c cl l l lu u u ud d d de┆
0x0100…0120 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 08 73 08   ┆ e e e < < < <s s s sy y y ys s ┆
0x0120…0140 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65   ┆s s/ / / /t t t ty y y yp p p pe┆
0x0140…0160 08 65 08 65 08 65 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e   ┆ e e es s s s. . . .h h h h> > >┆
0x0160…0180 08 3e 0a 20 20 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   ┆ >      # # # #i i i in n n nc c┆
0x0180…01a0 08 63 08 63 6c 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   ┆ c cl l l lu u u ud d d de e e e┆
0x01a0…01c0 20 3c 08 3c 08 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   ┆ < < < <s s s sy y y ys s s s/ /┆
0x01c0…01e0 08 2f 08 2f 69 08 69 08 69 08 69 70 08 70 08 70 08 70 63 08 63 08 63 08 63 2e 08 2e 08 2e 08 2e   ┆ / /i i i ip p p pc c c c. . . .┆
0x01e0…0200 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 69 08 69   ┆h h h h> > > >      # # # #i i i┆
0x0200…0220 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 75 64 08   ┆ in n n nc c c cl l l lu u u ud ┆
0x0220…0240 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 79 08 79   ┆d d de e e e < < < <s s s sy y y┆
0x0240…0260 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08   ┆ ys s s s/ / / /m m m ms s s sg ┆
0x0260…0280 67 08 67 08 67 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20   ┆g g g. . . .h h h h> > > >      ┆
0x0280…02a0 20 69 08 69 08 69 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   ┆ i i i in n n nt t t t m m m ms ┆
0x02a0…02c0 73 08 73 08 73 67 08 67 08 67 08 67 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08   ┆s s sg g g gg g g ge e e et t t ┆
0x02c0…02e0 74 20 28 08 28 08 28 08 28 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 79 08 79 08 79 08 79 2c 08   ┆t ( ( ( (k k k ke e e ey y y y, ┆
0x02e0…0300 2c 08 2c 08 2c 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 66 08 66 08 66   ┆, , , m m m ms s s sg g g gf f f┆
0x0300…0320 08 66 6c 08 6c 08 6c 08 6c 67 08 67 08 67 08 67 29 08 29 08 29 08 29 0a 20 20 20 20 20 6b 08 6b   ┆ fl l l lg g g g) ) ) )      k k┆
0x0320…0340 08 6b 08 6b 65 08 65 08 65 08 65 79 08 79 08 79 08 79 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74   ┆ k ke e e ey y y y_ _ _ _t t t t┆
0x0340…0360 20 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 79 08 79 08 79 08 79 3b 08 3b 08 3b 08 3b 0a 20 20   ┆ k k k ke e e ey y y y; ; ; ;   ┆
0x0360…0380 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 6d 08 6d 08 6d 08 6d   ┆   i i i in n n nt t t t m m m m┆
0x0380…03a0 73 08 73 08 73 08 73 67 08 67 08 67 08 67 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 67 08 67 08   ┆s s s sg g g gf f f fl l l lg g ┆
0x03a0…03c0 67 08 67 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 53 08   ┆g g; ; ; ;  D D D DE E E ES S S ┆
0x03c0…03e0 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 08 54   ┆SC C C CR R R RI I I IP P P PT T┆
0x03e0…0400 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 20 5f   ┆ T TI I I IO O O ON N N N      _┆
0x0400…0420 08 6d 5f 08 73 5f 08 67 5f 08 67 5f 08 65 5f 08 74 20 72 65 74 75 72 6e 73 20 74 68 65 20 6d 65   ┆ m_ s_ g_ g_ e_ t returns the me┆
0x0420…0440 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 61 73 73 6f 63 69 61 74 65   ┆ssage queue identifier associate┆
0x0440…0460 64 20 77 69 74 68 0a 20 20 20 20 20 5f 08 6b 5f 08 65 5f 08 79 2e 0a 0a 20 20 20 20 20 41 20 6d   ┆d with      _ k_ e_ y.       A m┆
0x0460…0480 65 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 61 6e 64 20 61 73 73 6f   ┆essage queue identifier and asso┆
0x0480…04a0 63 69 61 74 65 64 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 20 61 6e 64 0a 20 20 20 20 20 64 61   ┆ciated message queue and      da┆
0x04a0…04c0 74 61 20 73 74 72 75 63 74 75 72 65 20 28 73 65 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65   ┆ta structure (see data structure┆
0x04c0…04e0 20 62 65 6c 6f 77 29 20 61 72 65 20 63 72 65 61 74 65 64 20 66 6f 72 0a 20 20 20 20 20 5f 08 6b   ┆ below) are created for      _ k┆
0x04e0…0500 5f 08 65 5f 08 79 20 69 66 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61   ┆_ e_ y if one of the following a┆
0x0500…0520 72 65 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 5f 08 6b 5f 08 65 5f 08 79 20 69 73   ┆re true:            _ k_ e_ y is┆
0x0520…0540 20 65 71 75 61 6c 20 74 6f 20 49 08 49 08 49 08 49 50 08 50 08 50 08 50 43 08 43 08 43 08 43 5f   ┆ equal to I I I IP P P PC C C C_┆
0x0540…0560 08 5f 08 5f 08 5f 50 08 50 08 50 08 50 52 08 52 08 52 08 52 49 08 49 08 49 08 49 56 08 56 08 56   ┆ _ _ _P P P PR R R RI I I IV V V┆
0x0560…0580 08 56 41 08 41 08 41 08 41 54 08 54 08 54 08 54 45 08 45 08 45 08 45 2e 0a 0a 20 20 20 20 20 20   ┆ VA A A AT T T TE E E E.        ┆
0x0580…05a0 20 20 20 20 5f 08 6b 5f 08 65 5f 08 79 20 64 6f 65 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 68   ┆    _ k_ e_ y does not already h┆
0x05a0…05c0 61 76 65 20 61 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 0a 20   ┆ave a message queue identifier  ┆
0x05c0…05e0 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 69 74 2c 20 61 6e 64   ┆         associated with it, and┆
0x05e0…0600 20 28 5f 08 6d 5f 08 73 5f 08 67 5f 08 66 5f 08 6c 5f 08 67 20 26 20 49 08 49 08 49 08 49 50 08   ┆ (_ m_ s_ g_ f_ l_ g & I I I IP ┆
0x0600…0620 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 43 08 43 08 43 08 43 52 08 52 08 52 08   ┆P P PC C C C_ _ _ _C C C CR R R ┆
0x0620…0640 52 45 08 45 08 45 08 45 41 08 41 08 41 08 41 54 08 54 08 54 08 54 29 20 69 73 0a 20 20 20 20 20   ┆RE E E EA A A AT T T T) is      ┆
0x0640…0660 20 20 20 20 20 60 60 74 72 75 65 27 27 2e 0a 0a 20 20 20 20 20 41 20 6d 65 73 73 61 67 65 20 71   ┆     ``true''.       A message q┆
0x0660…0680 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 28 5f 08 6d 5f 08 73 5f 08 71 5f 08 69 5f 08 64   ┆ueue identifier (_ m_ s_ q_ i_ d┆
0x0680…06a0 29 20 69 73 20 61 20 75 6e 69 71 75 65 20 70 6f 73 69 74 69 76 65 0a 20 20 20 20 20 69 6e 74 65   ┆) is a unique positive      inte┆
0x06a0…06c0 67 65 72 20 63 72 65 61 74 65 64 20 62 79 20 61 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 67 5f 08 65   ┆ger created by a _ m_ s_ g_ g_ e┆
0x06c0…06e0 5f 08 74 28 33 29 20 66 75 6e 63 74 69 6f 6e 20 63 61 6c 6c 2e 20 20 45 61 63 68 20 5f 08 6d 5f   ┆_ t(3) function call.  Each _ m_┆
0x06e0…0700 08 73 5f 08 71 5f 08 69 5f 08 64 0a 20 20 20 20 20 68 61 73 20 61 20 6d 65 73 73 61 67 65 20 71   ┆ s_ q_ i_ d      has a message q┆
0x0700…0720 75 65 75 65 20 61 6e 64 20 61 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73 73 6f 63 69   ┆ueue and a data structure associ┆
0x0720…0740 61 74 65 64 20 77 69 74 68 20 69 74 2e 0a 20 20 20 20 20 54 68 65 20 64 61 74 61 20 73 74 72 75   ┆ated with it.      The data stru┆
0x0740…0760 63 74 75 72 65 20 69 73 20 72 65 66 65 72 72 65 64 20 74 6f 20 61 73 20 5f 08 6d 5f 08 73 5f 08   ┆cture is referred to as _ m_ s_ ┆
0x0760…0780 71 5f 08 69 5f 08 64 5f 5f 08 64 5f 08 73 20 61 6e 64 20 63 6f 6e 74 61 69 6e 73 0a 20 20 20 20   ┆q_ i_ d__ d_ s and contains     ┆
0x0780…07a0 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6d 65 6d 62 65 72 73 3a 0a 0a 20 20 20 20 20 20 20   ┆ the following members:         ┆
0x07a0…07c0 20 20 20 73 74 72 75 63 74 20 20 69 70 63 5f 70 65 72 6d 20 6d 73 67 5f 70 65 72 6d 3b 20 20 2f   ┆   struct  ipc_perm msg_perm;  /┆
0x07c0…07e0 2a 20 6f 70 65 72 61 74 69 6f 6e 20 70 65 72 6d 69 73 73 69 6f 6e 20 73 74 72 75 63 74 20 2a 2f   ┆* operation permission struct */┆
0x07e0…0800 0a 20 20 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 20 20 6d 73 67 5f 71 6e 75 6d 3b 20 20 20 20   ┆           ushort  msg_qnum;    ┆
0x0800…0820 20 20 20 20 20 20 20 2f 2a 20 6e 75 6d 62 65 72 20 6f 66 20 6d 73 67 73 20 6f 6e 20 71 20 2a 2f   ┆       /* number of msgs on q */┆
0x0820…0840 0a 20 20 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 20 20 6d 73 67 5f 71 62 79 74 65 73 3b 20 20   ┆           ushort  msg_qbytes;  ┆
0x0840…0860 20 20 20 20 20 20 20 2f 2a 20 6d 61 78 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 6f 6e   ┆       /* max number of bytes on┆
0x0860…0880 20 71 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 20 20 6d 73 67 5f 6c 73 70 69   ┆ q */           ushort  msg_lspi┆
0x0880…08a0 64 3b 20 20 20 20 20 20 20 20 20 20 2f 2a 20 70 69 64 20 6f 66 20 6c 61 73 74 20 6d 73 67 73 6e   ┆d;          /* pid of last msgsn┆
0x08a0…08c0 64 20 6f 70 65 72 61 74 69 6f 6e 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 20   ┆d operation */           ushort ┆
0x08c0…08e0 20 6d 73 67 5f 6c 72 70 69 64 3b 20 20 20 20 20 20 20 20 20 20 2f 2a 20 70 69 64 20 6f 66 20 6c   ┆ msg_lrpid;          /* pid of l┆
0x08e0…0900 61 73 74 20 6d 73 67 72 63 76 20 6f 70 65 72 61 74 69 6f 6e 20 2a 2f 0a 20 20 20 20 20 20 20 20   ┆ast msgrcv operation */         ┆
0x0900…0920 20 20 74 69 6d 65 5f 74 20 20 6d 73 67 5f 73 74 69 6d 65 3b 20 20 20 20 20 20 20 20 20 20 2f 2a   ┆  time_t  msg_stime;          /*┆
0x0920…0940 20 6c 61 73 74 20 6d 73 67 73 6e 64 20 74 69 6d 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 74   ┆ last msgsnd time */           t┆
0x0940…0960 69 6d 65 5f 74 20 20 6d 73 67 5f 72 74 69 6d 65 3b 20 20 20 20 20 20 20 20 20 20 2f 2a 20 6c 61   ┆ime_t  msg_rtime;          /* la┆
0x0960…0980 73 74 20 6d 73 67 72 63 76 20 74 69 6d 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 74 69 6d 65   ┆st msgrcv time */           time┆
0x0980…09a0 5f 74 20 20 6d 73 67 5f 63 74 69 6d 65 3b 20 20 20 20 20 20 20 20 20 20 2f 2a 20 6c 61 73 74 20   ┆_t  msg_ctime;          /* last ┆
0x09a0…09c0 63 68 61 6e 67 65 20 74 69 6d 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆change time */                  ┆
0x09c0…09e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 54 69 6d 65 73 20 6d 65   ┆                     /* Times me┆
0x09e0…0a00 61 73 75 72 65 64 20 69 6e 20 73 65 63 73 20 73 69 6e 63 65 20 2a 2f 0a 20 20 20 20 20 20 20 20   ┆asured in secs since */         ┆
0x0a00…0a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a   ┆                              /*┆
0x0a20…0a40 20 30 30 3a 30 30 3a 30 30 20 47 4d 54 2c 20 4a 61 6e 2e 20 31 2c 20 31 39 37 30 20 2a 2f 0a 0a   ┆ 00:00:00 GMT, Jan. 1, 1970 */  ┆
0x0a40…0a60 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08   ┆     m m m ms s s sg g g g_ _ _ ┆
0x0a60…0a80 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 6d 08 6d 20 20 20   ┆_p p p pe e e er r r rm m m m   ┆
0x0a80…0aa0 20 20 20 20 69 73 20 61 6e 20 69 70 63 5f 70 65 72 6d 20 73 74 72 75 63 74 75 72 65 20 74 68 61   ┆    is an ipc_perm structure tha┆
0x0aa0…0ac0 74 20 73 70 65 63 69 66 69 65 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆t specifies the                 ┆
0x0ac0…0ae0 20 20 20 20 6d 65 73 73 61 67 65 20 6f 70 65 72 61 74 69 6f 6e 20 70 65 72 6d 69 73 73 69 6f 6e   ┆    message operation permission┆
0x0ae0…0b00 2e 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f   ┆.       m m m ms s s sg g g g_ _┆
0x0b00…0b20 08 5f 08 5f 71 08 71 08 71 08 71 6e 08 6e 08 6e 08 6e 75 08 75 08 75 08 75 6d 08 6d 08 6d 08 6d   ┆ _ _q q q qn n n nu u u um m m m┆
0x0b20…0b40 20 20 20 20 20 20 20 69 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 6d 65 73 73 61 67 65 73   ┆       is the number of messages┆
0x0b40…0b60 20 63 75 72 72 65 6e 74 6c 79 20 6f 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ currently on the               ┆
0x0b60…0b80 20 20 20 20 20 20 71 75 65 75 65 2e 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08   ┆      queue.       m m m ms s s ┆
0x0b80…0ba0 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 71 08 71 08 71 08 71 62 08 62 08 62 08 62 79 08 79   ┆sg g g g_ _ _ _q q q qb b b by y┆
0x0ba0…0bc0 08 79 08 79 74 08 74 08 74 08 74 65 08 65 08 65 08 65 73 08 73 08 73 08 73 20 20 20 20 20 69 73   ┆ y yt t t te e e es s s s     is┆
0x0bc0…0be0 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 61 6c 6c   ┆ the maximum number of bytes all┆
0x0be0…0c00 6f 77 65 64 20 6f 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   ┆owed on the                     ┆
0x0c00…0c20 71 75 65 75 65 2e 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67   ┆queue.       m m m ms s s sg g g┆
0x0c20…0c40 08 67 5f 08 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 70 08 70 08 70 08 70 69 08   ┆ g_ _ _ _l l l ls s s sp p p pi ┆
0x0c40…0c60 69 08 69 08 69 64 08 64 08 64 08 64 20 20 20 20 20 20 69 73 20 74 68 65 20 70 72 6f 63 65 73 73   ┆i i id d d d      is the process┆
0x0c60…0c80 20 69 64 20 6f 66 20 74 68 65 20 6c 61 73 74 20 70 72 6f 63 65 73 73 20 74 68 61 74 0a 20 20 20   ┆ id of the last process that    ┆
0x0c80…0ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 66 6f 72 6d 65 64 20 61 20 5f 08 6d   ┆                 performed a _ m┆
0x0ca0…0cc0 5f 08 73 5f 08 67 5f 08 73 5f 08 6e 5f 08 64 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 0a 20 20 20 20   ┆_ s_ g_ s_ n_ d operation.      ┆
0x0cc0…0ce0 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 6c 08 6c   ┆ m m m ms s s sg g g g_ _ _ _l l┆
0x0ce0…0d00 08 6c 08 6c 72 08 72 08 72 08 72 70 08 70 08 70 08 70 69 08 69 08 69 08 69 64 08 64 08 64 08 64   ┆ l lr r r rp p p pi i i id d d d┆
0x0d00…0d20 20 20 20 20 20 20 69 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 64 20 6f 66 20 74 68 65 20 6c   ┆      is the process id of the l┆
0x0d20…0d40 61 73 74 20 70 72 6f 63 65 73 73 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ast process that                ┆
0x0d40…0d60 20 20 20 20 20 70 65 72 66 6f 72 6d 65 64 20 61 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 72 5f 08 63   ┆     performed a _ m_ s_ g_ r_ c┆
0x0d60…0d80 5f 08 76 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08   ┆_ v operation.       m m m ms s ┆
0x0d80…0da0 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 69   ┆s sg g g g_ _ _ _s s s st t t ti┆
0x0da0…0dc0 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 20 20 20 20 20 69 73 20 74 68 65   ┆ i i im m m me e e e      is the┆
0x0dc0…0de0 20 74 69 6d 65 20 6f 66 20 74 68 65 20 6c 61 73 74 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 73 5f 08   ┆ time of the last _ m_ s_ g_ s_ ┆
0x0de0…0e00 6e 5f 08 64 20 6f 70 65 72 61 74 69 6f 6e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08   ┆n_ d operation            m m m ┆
0x0e00…0e20 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 72 08 72 08 72 08 72 74 08 74   ┆ms s s sg g g g_ _ _ _r r r rt t┆
0x0e20…0e40 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 20 20 20 20 20 69   ┆ t ti i i im m m me e e e      i┆
0x0e40…0e60 73 20 74 68 65 20 74 69 6d 65 20 6f 66 20 74 68 65 20 6c 61 73 74 20 5f 08 6d 5f 08 73 5f 08 67   ┆s the time of the last _ m_ s_ g┆
0x0e60…0e80 5f 08 72 5f 08 63 5f 08 76 20 6f 70 65 72 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆_ r_ c_ v operation             ┆
0x0e80…0ea0 20 20 20 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f   ┆        m m m ms s s sg g g g_ _┆
0x0ea0…0ec0 08 5f 08 5f 63 08 63 08 63 08 63 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d   ┆ _ _c c c ct t t ti i i im m m m┆
0x0ec0…0ee0 65 08 65 08 65 08 65 20 69 73 20 74 68 65 20 74 69 6d 65 20 6f 66 20 74 68 65 20 6c 61 73 74 20   ┆e e e e is the time of the last ┆
0x0ee0…0f00 5f 08 6d 5f 08 73 5f 08 67 5f 08 63 5f 08 74 5f 08 6c 28 33 29 0a 20 20 20 20 20 20 20 20 20 20   ┆_ m_ s_ g_ c_ t_ l(3)           ┆
0x0f00…0f20 20 20 20 20 20 20 20 20 20 20 6f 70 65 72 61 74 69 6f 6e 20 74 68 61 74 20 63 68 61 6e 67 65 64   ┆          operation that changed┆
0x0f20…0f40 20 61 20 6d 65 6d 62 65 72 20 6f 66 20 74 68 65 20 61 62 6f 76 65 0a 20 20 20 20 20 20 20 20 20   ┆ a member of the above          ┆
0x0f40…0f60 20 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 75 72 65 2e 0a 0a 20 20 20 20 20 55 70 6f 6e   ┆           structure.       Upon┆
0x0f60…0f80 20 63 72 65 61 74 69 6f 6e 2c 20 74 68 65 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 61 73   ┆ creation, the data structure as┆
0x0f80…0fa0 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 6e 65 77 0a 20 20 20 20 20 6d 65 73 73 61   ┆sociated with the new      messa┆
0x0fa0…0fc0 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 69 73 20 69 6e 69 74 69 61 6c 69 7a   ┆ge queue identifier is initializ┆
0x0fc0…0fe0 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 08 6d 08 6d 08   ┆ed as follows:            m m m ┆
0x0fe0…1000 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 08 65   ┆ms s s sg g g g_ _ _ _p p p pe e┆
0x1000…1020 08 65 08 65 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e 08 2e 63 08 63 08 63 08 63   ┆ e er r r rm m m m. . . .c c c c┆
0x1020…1040 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 61 6e 64 20 6d 08 6d 08 6d 08   ┆u u u ui i i id d d d and m m m ┆
0x1040…1060 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 08 65   ┆ms s s sg g g g_ _ _ _p p p pe e┆
0x1060…1080 08 65 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   ┆ e er r r rm m m m. . . .u u u u┆
0x1080…10a0 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 61 72 65 20 73 65 74 20 65 71 75 61 6c 20 74 6f 20   ┆i i i id d d d are set equal to ┆
0x10a0…10c0 74 68 65 0a 20 20 20 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   ┆the           effective user ID ┆
0x10c0…10e0 6f 66 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 20 20   ┆of the calling process.         ┆
0x10e0…1100 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 70   ┆   m m m ms s s sg g g g_ _ _ _p┆
0x1100…1120 08 70 08 70 08 70 65 08 65 08 65 08 65 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e   ┆ p p pe e e er r r rm m m m. . .┆
0x1120…1140 08 2e 63 08 63 08 63 08 63 67 08 67 08 67 08 67 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 61   ┆ .c c c cg g g gi i i id d d d a┆
0x1140…1160 6e 64 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 70   ┆nd m m m ms s s sg g g g_ _ _ _p┆
0x1160…1180 08 70 08 70 08 70 65 08 65 08 65 08 65 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e   ┆ p p pe e e er r r rm m m m. . .┆
0x1180…11a0 08 2e 67 08 67 08 67 08 67 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 61 72 65 20 73 65 74 20   ┆ .g g g gi i i id d d d are set ┆
0x11a0…11c0 65 71 75 61 6c 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 65 66 66 65 63 74 69 76 65   ┆equal to the           effective┆
0x11c0…11e0 20 67 72 6f 75 70 20 49 44 20 6f 66 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73   ┆ group ID of the calling process┆
0x11e0…1200 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6c 6f 77 2d 6f 72 64 65 72 20 39 20 62 69 74   ┆.            The low-order 9 bit┆
0x1200…1220 73 20 6f 66 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08   ┆s of m m m ms s s sg g g g_ _ _ ┆
0x1220…1240 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 6d 08 6d 2e 08 2e   ┆_p p p pe e e er r r rm m m m. .┆
0x1240…1260 08 2e 08 2e 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65   ┆ . .m m m mo o o od d d de e e e┆
0x1260…1280 20 61 72 65 20 73 65 74 20 65 71 75 61 6c 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20   ┆ are set equal to           the ┆
0x1280…12a0 6c 6f 77 2d 6f 72 64 65 72 20 39 20 62 69 74 73 20 6f 66 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 66   ┆low-order 9 bits of _ m_ s_ g_ f┆
0x12a0…12c0 5f 08 6c 5f 08 67 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08   ┆_ l_ g.            m m m ms s s ┆
0x12c0…12e0 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 71 08 71 08 71 08 71 6e 08 6e 08 6e 08 6e 75 08 75   ┆sg g g g_ _ _ _q q q qn n n nu u┆
0x12e0…1300 08 75 08 75 6d 08 6d 08 6d 08 6d 2c 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67   ┆ u um m m m, m m m ms s s sg g g┆
0x1300…1320 08 67 5f 08 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 70 08 70 08 70 08 70 69 08   ┆ g_ _ _ _l l l ls s s sp p p pi ┆
0x1320…1340 69 08 69 08 69 64 08 64 08 64 08 64 2c 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08   ┆i i id d d d, m m m ms s s sg g ┆
0x1340…1360 67 08 67 5f 08 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c 72 08 72 08 72 08 72 70 08 70 08 70 08 70 69   ┆g g_ _ _ _l l l lr r r rp p p pi┆
0x1360…1380 08 69 08 69 08 69 64 08 64 08 64 08 64 2c 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67   ┆ i i id d d d, m m m ms s s sg g┆
0x1380…13a0 08 67 08 67 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 69 08 69 08 69 08 69   ┆ g g_ _ _ _s s s st t t ti i i i┆
0x13a0…13c0 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 6d 08   ┆m m m me e e e, and           m ┆
0x13c0…13e0 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 72 08 72 08 72 08   ┆m m ms s s sg g g g_ _ _ _r r r ┆
0x13e0…1400 72 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 61 72   ┆rt t t ti i i im m m me e e e ar┆
0x1400…1420 65 20 73 65 74 20 65 71 75 61 6c 20 74 6f 20 30 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 08 6d   ┆e set equal to 0.            m m┆
0x1420…1440 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 63 08 63 08 63 08 63   ┆ m ms s s sg g g g_ _ _ _c c c c┆
0x1440…1460 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 69 73 20   ┆t t t ti i i im m m me e e e is ┆
0x1460…1480 73 65 74 20 65 71 75 61 6c 20 74 6f 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 69 6d 65 2e 0a 0a   ┆set equal to the current time.  ┆
0x1480…14a0 20 20 20 20 20 20 20 20 20 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 67 08 67 08 67 08 67 5f   ┆          m m m ms s s sg g g g_┆
0x14a0…14c0 08 5f 08 5f 08 5f 71 08 71 08 71 08 71 62 08 62 08 62 08 62 79 08 79 08 79 08 79 74 08 74 08 74   ┆ _ _ _q q q qb b b by y y yt t t┆
0x14c0…14e0 08 74 65 08 65 08 65 08 65 73 08 73 08 73 08 73 20 69 73 20 73 65 74 20 65 71 75 61 6c 20 74 6f   ┆ te e e es s s s is set equal to┆
0x14e0…1500 20 74 68 65 20 73 79 73 74 65 6d 20 6c 69 6d 69 74 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52   ┆ the system limit.  E E E ER R R┆
0x1500…1520 08 52 52 08 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   ┆ RR R R RO O O OR R R RS S S S  ┆
0x1520…1540 20 20 20 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 67 5f 08 65 5f 08 74 20 77 69 6c 6c 20 66 61 69 6c   ┆    _ m_ s_ g_ g_ e_ t will fail┆
0x1540…1560 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┆
0x1560…1580 20 61 72 65 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 5b 45 41 43 43 45 53 5d 20 20 20 20 20 20 20   ┆ are true:       [EACCES]       ┆
0x1580…15a0 41 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 65 78 69 73 74   ┆A message queue identifier exist┆
0x15a0…15c0 73 20 66 6f 72 20 5f 08 6b 5f 08 65 5f 08 79 20 62 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆s for _ k_ e_ y but             ┆
0x15c0…15e0 20 20 20 20 20 20 20 20 6f 70 65 72 61 74 69 6f 6e 20 70 65 72 6d 69 73 73 69 6f 6e 20 28 73 65   ┆        operation permission (se┆
0x15e0…1600 65 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 67 5f 08 6f 5f 08 70 28 5f 08 33 29 20 66 6f 72 20 70 65   ┆e _ m_ s_ g_ g_ o_ p(_ 3) for pe┆
0x1600…1620 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 73 73 69 6f 6e 20 69   ┆r-                     mission i┆
0x1620…1640 6e 66 6f 72 6d 61 74 69 6f 6e 29 20 61 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 0a   ┆nformation) as specified by the ┆
0x1640…1660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 77 2d 6f 72 64 65 72 20 39 20   ┆                    low-order 9 ┆
0x1660…1680 62 69 74 73 20 6f 66 20 5f 08 6d 5f 08 73 5f 08 67 5f 08 66 5f 08 6c 5f 08 67 20 77 6f 75 6c 64   ┆bits of _ m_ s_ g_ f_ l_ g would┆
0x1680…16a0 20 6e 6f 74 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 72 61 6e   ┆ not be                     gran┆
0x16a0…16c0 74 65 64 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 45 4e 54 5d 20 20 20 20 20 20 20 41 20 6d 65 73 73   ┆ted.       [ENOENT]       A mess┆
0x16c0…16e0 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 64 6f 65 73 20 6e 6f 74 20 65 78   ┆age queue identifier does not ex┆
0x16e0…1700 69 73 74 20 66 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 6b 5f   ┆ist for                     _ k_┆
0x1700…1720 08 65 5f 08 79 20 61 6e 64 20 28 5f 08 6d 5f 08 73 5f 08 67 5f 08 66 5f 08 6c 5f 08 67 20 26 20   ┆ e_ y and (_ m_ s_ g_ f_ l_ g & ┆
0x1720…1740 49 08 49 08 49 08 49 50 08 50 08 50 08 50 43 08 43 08 43 08 43 5f 08 5f 08 5f 08 5f 43 08 43 08   ┆I I I IP P P PC C C C_ _ _ _C C ┆
0x1740…1760 43 08 43 52 08 52 08 52 08 52 45 08 45 08 45 08 45 41 08 41 08 41 08 41 54 08 54 08 54 08 54 29   ┆C CR R R RE E E EA A A AT T T T)┆
0x1760…1780 20 69 73 20 60 60 66 61 6c 73 65 27 27 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 53 50 43 5d 20 20 20   ┆ is ``false''.       [ENOSPC]   ┆
0x1780…17a0 20 20 20 20 41 20 6d 65 73 73 61 67 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 69   ┆    A message queue identifier i┆
0x17a0…17c0 73 20 74 6f 20 62 65 20 63 72 65 61 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆s to be created                 ┆
0x17c0…17e0 20 20 20 20 62 75 74 20 74 68 65 20 73 79 73 74 65 6d 2d 69 6d 70 6f 73 65 64 20 6c 69 6d 69 74   ┆    but the system-imposed limit┆
0x17e0…1800 20 6f 6e 20 74 68 65 20 6d 61 78 69 6d 75 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ on the maximum                 ┆
0x1800…1820 20 20 20 20 6e 75 6d 62 65 72 20 6f 66 20 61 6c 6c 6f 77 65 64 20 6d 65 73 73 61 67 65 20 71 75   ┆    number of allowed message qu┆
0x1820…1840 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆eue identifiers                 ┆
0x1840…1860 20 20 20 20 73 79 73 74 65 6d 20 77 69 64 65 20 77 6f 75 6c 64 20 62 65 20 65 78 63 65 65 64 65   ┆    system wide would be exceede┆
0x1860…1880 64 2e 0a 0a 20 20 20 20 20 5b 45 45 58 49 53 54 5d 20 20 20 20 20 20 20 41 20 6d 65 73 73 61 67   ┆d.       [EEXIST]       A messag┆
0x1880…18a0 65 20 71 75 65 75 65 20 69 64 65 6e 74 69 66 69 65 72 20 65 78 69 73 74 73 20 66 6f 72 20 5f 08   ┆e queue identifier exists for _ ┆
0x18a0…18c0 6b 5f 08 65 5f 08 79 20 62 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆k_ e_ y but                     ┆
0x18c0…18e0 28 20 28 5f 08 6d 5f 08 73 5f 08 67 5f 08 66 5f 08 6c 5f 08 67 20 26 20 49 50 43 5f 43 52 45 41   ┆( (_ m_ s_ g_ f_ l_ g & IPC_CREA┆
0x18e0…1900 54 29 08 29 08 29 08 29 20 26 08 26 08 26 08 26 20 28 08 28 08 28 08 28 20 5f 08 6d 5f 08 73 5f   ┆T) ) ) ) & & & & ( ( ( ( _ m_ s_┆
0x1900…1920 08 67 5f 08 66 5f 08 6c 5f 08 67 20 26 20 49 08 49 08 49 08 49 50 08 50 08 50 08 50 43 08 43 08   ┆ g_ f_ l_ g & I I I IP P P PC C ┆
[…truncated at 200 lines…]