|
|
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: t
Length: 5406 (0x151e)
Names: »txipc.4«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat4/txipc.4«
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 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 ┆ u_ a_ l Devices and Faci┆ 0x0040…0060 6c 69 74 69 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 78 69 70 63 28 34 29 0a 0a 0a 0a ┆lities txipc(4) ┆ 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 74 78 69 70 63 20 2d 20 54 58 20 49 6e 74 65 72 70 72 6f 63 65 73 73 20 43 6f 6d 6d 75 6e ┆ txipc - TX Interprocess Commun┆ 0x00a0…00c0 69 63 61 74 69 6f 6e 20 63 68 61 6e 6e 65 6c 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e ┆ication channel S S S SY Y Y YN┆ 0x00c0…00e0 08 4e 08 4e 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 ┆ N N NT T T TA A A AX X X X ┆ 0x00e0…0100 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 08 6c ┆ # # # #i i i in n n nc c c cl l┆ 0x0100…0120 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 3c 08 ┆ l lu u u ud d d de e e e < < < ┆ 0x0120…0140 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 74 08 74 ┆<s s s sy y y ys s s s/ / / /t t┆ 0x0140…0160 08 74 08 74 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 ┆ t ty y y yp p p pe e e es s s s┆ 0x0160…0180 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 08 23 ┆. . . .h h h h> > > > # # #┆ 0x0180…01a0 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 75 08 ┆ #i i i in n n nc c c cl l l lu ┆ 0x01a0…01c0 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 08 73 ┆u u ud d d de e e e < < < <s s s┆ 0x01c0…01e0 08 73 79 08 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 ┆ sy y y ys s s s/ / / /i i i ip ┆ 0x01e0…0200 70 08 70 08 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 ┆p p pc c c c. . . .h h h h> > > ┆ 0x0200…0220 3e 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 43 08 43 52 ┆> D D D DE E E ES S S SC C C CR┆ 0x0220…0240 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 08 49 08 49 ┆ R R RI I I IP P P PT T T TI I I┆ 0x0240…0260 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 41 20 54 58 49 50 43 20 63 68 ┆ IO O O ON N N N A TXIPC ch┆ 0x0260…0280 61 6e 6e 65 6c 20 63 61 6e 20 62 65 20 63 72 65 61 74 65 64 20 77 69 74 68 20 74 68 65 20 5f 08 ┆annel can be created with the _ ┆ 0x0280…02a0 6d 5f 08 6b 5f 08 69 5f 08 70 5f 08 63 5f 08 6e 5f 08 6f 5f 08 64 5f 08 65 20 75 74 69 6c 69 74 ┆m_ k_ i_ p_ c_ n_ o_ d_ e utilit┆ 0x02a0…02c0 79 20 6f 72 0a 20 20 20 20 20 62 79 20 6f 70 65 6e 69 6e 67 20 61 20 70 61 74 68 6e 61 6d 65 20 ┆y or by opening a pathname ┆ 0x02c0…02e0 77 69 74 68 20 74 68 65 20 4f 5f 43 52 45 41 54 20 66 6c 61 67 20 61 6e 64 20 6f 6e 65 20 6f 66 ┆with the O_CREAT flag and one of┆ 0x02e0…0300 20 74 68 65 0a 20 20 20 20 20 66 6c 61 67 73 20 75 6e 69 71 75 65 20 74 6f 20 74 68 65 20 54 58 ┆ the flags unique to the TX┆ 0x0300…0320 49 50 43 20 63 68 61 6e 6e 65 6c 20 28 4f 5f 50 45 45 52 2c 20 4f 5f 43 4c 49 45 4e 54 20 6f 72 ┆IPC channel (O_PEER, O_CLIENT or┆ 0x0320…0340 0a 20 20 20 20 20 4f 5f 53 45 52 56 45 52 29 20 73 65 74 2e 0a 0a 20 20 20 20 20 4f 6e 63 65 20 ┆ O_SERVER) set. Once ┆ 0x0340…0360 74 68 65 20 54 58 49 50 43 20 63 68 61 6e 6e 65 6c 20 68 61 73 20 62 65 65 6e 20 63 72 65 61 74 ┆the TXIPC channel has been creat┆ 0x0360…0380 65 64 2c 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 63 61 6e 20 62 65 0a 20 20 20 20 20 6f 70 65 6e ┆ed, the channel can be open┆ 0x0380…03a0 65 64 2c 20 72 65 61 64 20 61 6e 64 20 77 72 69 74 74 65 6e 20 61 73 20 69 66 20 69 74 20 77 65 ┆ed, read and written as if it we┆ 0x03a0…03c0 72 65 20 61 20 66 69 6c 65 2e 20 20 52 65 61 64 69 6e 67 20 61 6e 64 0a 20 20 20 20 20 77 72 69 ┆re a file. Reading and wri┆ 0x03c0…03e0 74 69 6e 67 20 6d 61 79 20 62 65 20 64 6f 6e 65 20 75 73 69 6e 67 20 73 74 72 65 61 6d 20 6d 6f ┆ting may be done using stream mo┆ 0x03e0…0400 64 65 20 6f 72 20 6d 65 73 73 61 67 65 20 6d 6f 64 65 2c 0a 20 20 20 20 20 64 65 70 65 6e 64 69 ┆de or message mode, dependi┆ 0x0400…0420 6e 67 20 6f 6e 20 74 68 65 20 73 65 74 74 69 6e 67 20 61 74 20 6f 70 65 6e 20 74 69 6d 65 2e 20 ┆ng on the setting at open time. ┆ 0x0420…0440 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2c 20 5f 08 63 5f 08 6c 5f 08 6f 5f 08 73 5f 08 65 2c 20 ┆ _ o_ p_ e_ n, _ c_ l_ o_ s_ e, ┆ 0x0440…0460 5f 08 72 5f 08 65 5f 08 61 5f 08 64 2c 0a 20 20 20 20 20 61 6e 64 20 5f 08 77 5f 08 72 5f 08 69 ┆_ r_ e_ a_ d, and _ w_ r_ i┆ 0x0460…0480 5f 08 74 5f 08 65 20 73 79 73 74 65 6d 20 63 61 6c 6c 73 20 70 65 72 6d 69 74 20 54 58 49 50 43 ┆_ t_ e system calls permit TXIPC┆ 0x0480…04a0 20 63 68 61 6e 6e 65 6c 73 20 74 6f 20 62 65 20 75 73 65 64 20 69 6e 20 61 0a 20 20 20 20 20 77 ┆ channels to be used in a w┆ 0x04a0…04c0 61 79 20 74 68 61 74 20 69 73 20 66 75 6c 6c 79 20 69 6e 74 65 67 72 61 74 65 64 20 77 69 74 68 ┆ay that is fully integrated with┆ 0x04c0…04e0 20 74 68 65 20 66 69 6c 65 20 73 79 73 74 65 6d 2e 20 4e 6f 72 6d 61 6c 0a 20 20 20 20 20 66 69 ┆ the file system. Normal fi┆ 0x04e0…0500 6c 65 2d 61 63 63 65 73 73 20 70 72 6f 74 65 63 74 69 6f 6e 20 6d 65 63 68 61 6e 69 73 6d 73 20 ┆le-access protection mechanisms ┆ 0x0500…0520 61 70 70 6c 79 20 74 6f 20 70 72 6f 63 65 73 73 65 73 20 77 68 65 6e 0a 20 20 20 20 20 74 68 65 ┆apply to processes when the┆ 0x0520…0540 79 20 6f 70 65 6e 20 54 58 49 50 43 20 63 68 61 6e 6e 65 6c 73 20 69 6e 20 74 68 65 20 66 69 6c ┆y open TXIPC channels in the fil┆ 0x0540…0560 65 20 73 79 73 74 65 6d 2e 0a 0a 20 20 20 20 20 54 08 54 08 54 08 54 58 08 58 08 58 08 58 49 08 ┆e system. T T T TX X X XI ┆ 0x0560…0580 49 08 49 08 49 50 08 50 08 50 08 50 43 08 43 08 43 08 43 20 43 08 43 08 43 08 43 68 08 68 08 68 ┆I I IP P P PC C C C C C C Ch h h┆ 0x0580…05a0 08 68 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 6c 08 ┆ ha a a an n n nn n n ne e e el ┆ 0x05a0…05c0 6c 08 6c 08 6c 20 4f 08 4f 08 4f 08 4f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e ┆l l l O O O Op p p pe e e en n n┆ 0x05c0…05e0 08 6e 73 08 73 08 73 08 73 0a 20 20 20 20 20 41 20 54 58 49 50 43 20 63 68 61 6e 6e 65 6c 20 63 ┆ ns s s s A TXIPC channel c┆ 0x05e0…0600 61 6e 20 62 65 20 6f 70 65 6e 65 64 20 61 73 20 61 20 70 65 65 72 2c 20 61 20 63 6c 69 65 6e 74 ┆an be opened as a peer, a client┆ 0x0600…0620 20 6f 72 20 61 0a 20 20 20 20 20 73 65 72 76 65 72 2e 20 41 20 5f 08 70 5f 08 65 5f 08 65 5f 08 ┆ or a server. A _ p_ e_ e_ ┆ 0x0620…0640 72 20 70 72 6f 63 65 73 73 20 69 73 20 61 20 70 72 6f 63 65 73 73 20 74 68 61 74 20 63 6f 6d 6d ┆r process is a process that comm┆ 0x0640…0660 75 6e 69 63 61 74 65 73 20 77 69 74 68 0a 20 20 20 20 20 61 6e 6f 74 68 65 72 20 70 65 65 72 20 ┆unicates with another peer ┆ 0x0660…0680 70 72 6f 63 65 73 73 20 61 73 20 61 6e 20 65 71 75 61 6c 2e 20 20 41 20 5f 08 63 5f 08 6c 5f 08 ┆process as an equal. A _ c_ l_ ┆ 0x0680…06a0 69 5f 08 65 5f 08 6e 5f 08 74 20 70 72 6f 63 65 73 73 20 69 73 20 61 0a 20 20 20 20 20 70 72 6f ┆i_ e_ n_ t process is a pro┆ 0x06a0…06c0 63 65 73 73 20 74 68 61 74 20 72 65 71 75 65 73 74 73 20 73 65 72 76 69 63 65 73 20 66 72 6f 6d ┆cess that requests services from┆ 0x06c0…06e0 20 61 20 73 65 72 76 65 72 2e 20 20 41 20 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 72 ┆ a server. A _ s_ e_ r_ v_ e_ r┆ 0x06e0…0700 20 70 72 6f 2d 0a 20 20 20 20 20 63 65 73 73 20 69 73 20 61 20 70 72 6f 63 65 73 73 20 74 68 61 ┆ pro- cess is a process tha┆ 0x0700…0720 74 20 70 65 72 66 6f 72 6d 73 20 72 65 71 75 65 73 74 73 20 6d 61 64 65 20 62 79 20 61 20 63 6c ┆t performs requests made by a cl┆ 0x0720…0740 69 65 6e 74 0a 20 20 20 20 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 57 68 65 6e 20 61 20 ┆ient process. When a ┆ 0x0740…0760 70 72 6f 63 65 73 73 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 73 20 61 20 54 58 49 50 43 20 63 68 ┆process _ o_ p_ e_ ns a TXIPC ch┆ 0x0760…0780 61 6e 6e 65 6c 2c 20 69 74 20 69 64 65 6e 74 69 66 69 65 73 20 69 74 73 65 6c 66 0a 20 20 20 20 ┆annel, it identifies itself ┆ 0x0780…07a0 20 61 73 20 61 20 70 65 65 72 2c 20 61 20 63 6c 69 65 6e 74 20 6f 72 20 61 20 73 65 72 76 65 72 ┆ as a peer, a client or a server┆ 0x07a0…07c0 20 76 69 61 20 61 20 66 6c 61 67 20 28 4f 5f 50 45 45 52 2c 20 4f 5f 43 4c 49 45 4e 54 0a 20 20 ┆ via a flag (O_PEER, O_CLIENT ┆ 0x07c0…07e0 20 20 20 6f 72 20 4f 5f 53 45 52 56 45 52 29 20 74 6f 20 74 68 65 20 5f 08 6f 5f 08 70 5f 08 65 ┆ or O_SERVER) to the _ o_ p_ e┆ 0x07e0…0800 5f 08 6e 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 20 49 66 20 6e 6f 6e 65 20 6f 66 20 74 68 65 73 ┆_ n system call. If none of thes┆ 0x0800…0820 65 20 61 72 65 0a 20 20 20 20 20 73 70 65 63 69 66 69 65 64 2c 20 70 65 65 72 20 69 73 20 61 73 ┆e are specified, peer is as┆ 0x0820…0840 73 75 6d 65 64 2e 20 20 54 58 20 70 61 69 72 73 20 65 61 63 68 20 6f 66 20 74 68 65 73 65 20 74 ┆sumed. TX pairs each of these t┆ 0x0840…0860 79 70 65 73 20 6f 66 0a 20 20 20 20 20 6f 70 65 6e 73 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 ┆ypes of opens according to ┆ 0x0860…0880 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 75 6c 65 73 3a 20 61 20 70 65 65 72 20 63 61 6e 20 ┆the following rules: a peer can ┆ 0x0880…08a0 70 61 69 72 20 77 69 74 68 0a 20 20 20 20 20 61 20 73 65 72 76 65 72 20 6f 72 20 61 6e 6f 74 68 ┆pair with a server or anoth┆ 0x08a0…08c0 65 72 20 70 65 65 72 2c 20 62 75 74 20 6e 6f 74 20 61 20 63 6c 69 65 6e 74 3b 20 61 20 73 65 72 ┆er peer, but not a client; a ser┆ 0x08c0…08e0 76 65 72 20 63 61 6e 0a 20 20 20 20 20 70 61 69 72 20 77 69 74 68 20 61 20 70 65 65 72 20 6f 72 ┆ver can pair with a peer or┆ 0x08e0…0900 20 61 20 63 6c 69 65 6e 74 2c 20 62 75 74 20 6e 6f 74 20 61 6e 6f 74 68 65 72 20 73 65 72 76 65 ┆ a client, but not another serve┆ 0x0900…0920 72 3b 20 61 6e 64 20 61 0a 20 20 20 20 20 63 6c 69 65 6e 74 20 63 61 6e 20 70 61 69 72 20 6f 6e ┆r; and a client can pair on┆ 0x0920…0940 6c 79 20 77 69 74 68 20 61 20 73 65 72 76 65 72 2e 0a 0a 20 20 20 20 20 54 58 20 70 61 69 72 73 ┆ly with a server. TX pairs┆ 0x0940…0960 20 72 65 61 64 2d 6f 6e 6c 79 20 74 6f 20 77 72 69 74 65 2d 6f 6e 6c 79 20 6f 70 65 6e 73 2c 20 ┆ read-only to write-only opens, ┆ 0x0960…0980 61 6e 64 20 72 65 61 64 2d 77 72 69 74 65 20 74 6f 0a 20 20 20 20 20 72 65 61 64 2d 77 72 69 74 ┆and read-write to read-writ┆ 0x0980…09a0 65 20 6f 70 65 6e 73 2e 20 20 54 68 69 73 20 70 61 69 72 69 6e 67 20 65 6e 73 75 72 65 73 20 74 ┆e opens. This pairing ensures t┆ 0x09a0…09c0 68 61 74 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 0a 20 20 20 20 20 61 72 65 20 70 72 6f 70 65 ┆hat the processes are prope┆ 0x09c0…09e0 72 6c 79 20 6d 61 70 70 65 64 20 74 6f 20 6f 6e 65 20 61 6e 6f 74 68 65 72 20 77 68 65 6e 20 74 ┆rly mapped to one another when t┆ 0x09e0…0a00 68 65 79 20 6f 70 65 6e 20 61 20 54 58 49 50 43 0a 20 20 20 20 20 63 68 61 6e 6e 65 6c 2e 20 20 ┆hey open a TXIPC channel. ┆ 0x0a00…0a20 43 68 61 6e 6e 65 6c 73 20 6f 70 65 6e 65 64 20 77 69 74 68 20 74 68 65 20 4f 5f 43 4f 4e 54 52 ┆Channels opened with the O_CONTR┆ 0x0a20…0a40 4f 4c 20 66 6c 61 67 20 73 65 74 20 61 72 65 0a 20 20 20 20 20 70 61 69 72 65 64 20 6f 6e 6c 79 ┆OL flag set are paired only┆ 0x0a40…0a60 20 77 69 74 68 20 6f 74 68 65 72 20 70 72 6f 63 65 73 73 65 73 20 77 68 69 63 68 20 68 61 76 65 ┆ with other processes which have┆ 0x0a60…0a80 20 6f 70 65 6e 65 64 20 74 68 65 20 63 68 61 6e 2d 0a 20 20 20 20 20 6e 65 6c 20 77 69 74 68 20 ┆ opened the chan- nel with ┆ 0x0a80…0aa0 74 68 65 20 4f 5f 43 4f 4e 54 52 4f 4c 20 66 6c 61 67 20 73 65 74 2e 0a 0a 20 20 20 20 20 49 66 ┆the O_CONTROL flag set. If┆ 0x0aa0…0ac0 20 61 20 70 72 6f 63 65 73 73 20 6f 70 65 6e 73 20 61 20 54 58 49 50 43 20 63 68 61 6e 6e 65 6c ┆ a process opens a TXIPC channel┆ 0x0ac0…0ae0 20 61 6e 64 20 74 68 65 72 65 20 69 73 20 6e 6f 20 6d 61 74 63 68 69 6e 67 0a 20 20 20 20 20 70 ┆ and there is no matching p┆ 0x0ae0…0b00 72 6f 63 65 73 73 20 77 69 74 68 20 77 68 69 63 68 20 54 58 20 63 61 6e 20 70 61 69 72 20 69 74 ┆rocess with which TX can pair it┆ 0x0b00…0b20 2c 20 74 68 65 20 70 72 6f 63 65 73 73 20 62 6c 6f 63 6b 73 20 6f 6e 20 74 68 65 0a 20 20 20 20 ┆, the process blocks on the ┆ 0x0b20…0b40 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 63 61 6c 6c 20 75 6e 74 69 6c 20 61 20 6d 61 74 63 68 ┆ _ o_ p_ e_ n call until a match┆ 0x0b40…0b60 69 6e 67 20 70 72 6f 63 65 73 73 20 6f 70 65 6e 73 20 74 68 65 20 63 68 61 6e 6e 65 6c 2e 20 20 ┆ing process opens the channel. ┆ 0x0b60…0b80 54 79 70 69 2d 0a 20 20 20 20 20 63 61 6c 6c 79 2c 20 73 65 72 76 65 72 73 20 77 61 69 74 20 66 ┆Typi- cally, servers wait f┆ 0x0b80…0ba0 6f 72 20 63 6c 69 65 6e 74 73 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 63 68 61 6e 6e 65 6c 2e 0a ┆or clients to open the channel. ┆ 0x0ba0…0bc0 0a 20 20 20 20 20 54 68 65 20 4f 5f 4e 44 45 4c 41 59 20 66 6c 61 67 20 63 61 75 73 65 73 20 74 ┆ The O_NDELAY flag causes t┆ 0x0bc0…0be0 68 65 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 63 61 6c 6c 20 74 6f 20 72 65 74 75 72 6e 20 61 ┆he _ o_ p_ e_ n call to return a┆ 0x0be0…0c00 6e 20 65 72 72 6f 72 0a 20 20 20 20 20 69 6e 73 74 65 61 64 20 6f 66 20 62 6c 6f 63 6b 69 6e 67 ┆n error instead of blocking┆ 0x0c00…0c20 2e 20 20 54 68 65 20 4f 5f 44 45 54 41 43 48 20 66 6c 61 67 20 63 61 75 73 65 73 20 74 68 65 20 ┆. The O_DETACH flag causes the ┆ 0x0c20…0c40 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 63 61 6c 6c 0a 20 20 20 20 20 74 6f 20 70 65 72 66 6f 72 ┆_ o_ p_ e_ n call to perfor┆ 0x0c40…0c60 6d 20 61 20 5f 08 64 5f 08 65 5f 08 74 5f 08 61 5f 08 63 5f 08 68 20 63 61 6c 6c 20 62 65 66 6f ┆m a _ d_ e_ t_ a_ c_ h call befo┆ 0x0c60…0c80 72 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 70 61 69 72 65 64 20 6f 6e 20 74 68 65 0a ┆re the process is paired on the ┆ 0x0c80…0ca0 20 20 20 20 20 63 68 61 6e 6e 65 6c 2e 20 41 20 73 75 62 73 65 71 75 65 6e 74 20 5f 08 61 5f 08 ┆ channel. A subsequent _ a_ ┆ 0x0ca0…0cc0 74 5f 08 74 5f 08 61 5f 08 63 5f 08 68 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 63 6f 6d 70 6c 65 ┆t_ t_ a_ c_ h system call comple┆ 0x0cc0…0ce0 74 65 73 20 74 68 65 20 70 61 69 72 2d 0a 20 20 20 20 20 69 6e 67 2e 20 20 54 68 65 20 4f 5f 46 ┆tes the pair- ing. The O_F┆ 0x0ce0…0d00 4f 52 43 45 4f 50 45 4e 20 66 6c 61 67 20 63 61 75 73 65 73 20 74 68 65 20 5f 08 6f 5f 08 70 5f ┆ORCEOPEN flag causes the _ o_ p_┆ 0x0d00…0d20 08 65 5f 08 6e 20 74 6f 20 63 6f 6d 70 6c 65 74 65 2c 0a 20 20 20 20 20 77 68 65 74 68 65 72 20 ┆ e_ n to complete, whether ┆ 0x0d20…0d40 74 68 65 72 65 20 69 73 20 61 6e 6f 74 68 65 72 20 70 72 6f 63 65 73 73 20 77 69 74 68 20 77 68 ┆there is another process with wh┆ 0x0d40…0d60 69 63 68 20 74 6f 20 6c 69 6e 6b 20 6f 72 20 6e 6f 74 2e 0a 20 20 20 20 20 54 68 65 20 4f 5f 46 ┆ich to link or not. The O_F┆ 0x0d60…0d80 4f 52 43 45 4f 50 45 4e 20 66 6c 61 67 20 69 73 20 75 73 65 66 75 6c 20 77 68 65 6e 20 61 20 73 ┆ORCEOPEN flag is useful when a s┆ 0x0d80…0da0 69 6e 67 6c 65 20 70 72 6f 63 65 73 73 20 69 73 20 73 65 72 2d 0a 20 20 20 20 20 76 69 63 69 6e ┆ingle process is ser- vicin┆ 0x0da0…0dc0 67 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 63 68 61 6e 6e 65 6c 20 61 74 20 74 68 65 20 73 ┆g more than one channel at the s┆ 0x0dc0…0de0 61 6d 65 20 74 69 6d 65 2e 20 20 54 6f 20 64 6f 20 74 68 69 73 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 ┆ame time. To do this ┆ 0x0de0…0e00 20 74 68 65 20 73 65 72 76 65 72 20 60 60 66 6f 72 63 65 2d 6f 70 65 6e 73 27 27 20 61 6c 6c 20 ┆ the server ``force-opens'' all ┆ 0x0e00…0e20 63 68 61 6e 6e 65 6c 73 20 69 74 20 73 65 72 76 69 63 65 73 2c 20 61 6e 64 0a 20 20 20 20 20 75 ┆channels it services, and u┆ 0x0e20…0e40 73 65 73 20 74 68 65 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 20 63 61 6c 6c 20 ┆ses the _ s_ e_ l_ e_ c_ t call ┆ 0x0e40…0e60 74 6f 20 64 65 74 65 63 74 20 74 68 65 20 63 68 61 6e 6e 65 6c 73 20 72 65 61 64 79 20 66 6f 72 ┆to detect the channels ready for┆ 0x0e60…0e80 20 70 72 6f 2d 0a 20 20 20 20 20 63 65 73 73 69 6e 67 2e 0a 0a 20 20 20 20 20 54 08 54 08 54 08 ┆ pro- cessing. T T T ┆ 0x0e80…0ea0 54 72 08 72 08 72 08 72 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 61 08 61 ┆Tr r r ra a a an n n ns s s sa a┆ 0x0ea0…0ec0 08 61 08 61 63 08 63 08 63 08 63 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f ┆ a ac c c ct t t ti i i io o o o┆ 0x0ec0…0ee0 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 0a 20 20 20 20 20 54 58 49 50 43 20 63 68 61 6e 6e 65 ┆n n n ns s s s TXIPC channe┆ 0x0ee0…0f00 6c 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 6a 6f 69 6e 20 32 20 70 72 6f 63 65 73 73 ┆ls may be used to join 2 process┆ 0x0f00…0f20 65 73 20 69 6e 20 74 68 65 20 73 61 6d 65 0a 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 2e ┆es in the same transaction.┆ 0x0f20…0f40 20 20 54 68 65 20 63 68 61 6e 6e 65 6c 20 6d 75 73 74 20 62 65 20 6f 70 65 6e 65 64 20 77 69 74 ┆ The channel must be opened wit┆ 0x0f40…0f60 68 20 74 68 65 20 4f 5f 43 4f 4e 54 52 4f 4c 0a 20 20 20 20 20 66 6c 61 67 20 73 65 74 2e 20 20 ┆h the O_CONTROL flag set. ┆ 0x0f60…0f80 41 20 70 65 65 72 20 6f 72 20 61 20 63 6c 69 65 6e 74 20 70 72 6f 63 65 73 73 20 73 68 6f 75 6c ┆A peer or a client process shoul┆ 0x0f80…0fa0 64 20 69 73 73 75 65 20 61 0a 20 20 20 20 20 5f 08 74 5f 08 72 5f 08 61 5f 08 6e 5f 08 73 28 5f ┆d issue a _ t_ r_ a_ n_ s(_┆ 0x0fa0…0fc0 08 54 5f 08 52 5f 5f 08 42 5f 08 45 5f 08 47 5f 08 49 5f 08 4e 29 20 63 61 6c 6c 20 77 68 69 63 ┆ T_ R__ B_ E_ G_ I_ N) call whic┆ 0x0fc0…0fe0 68 20 70 65 72 6d 69 74 73 20 74 68 65 20 6f 74 68 65 72 20 70 72 6f 63 65 73 73 20 28 70 65 65 ┆h permits the other process (pee┆ 0x0fe0…1000 72 0a 20 20 20 20 20 6f 72 20 73 65 72 76 65 72 29 20 74 6f 20 6a 6f 69 6e 20 69 6e 20 74 68 65 ┆r or server) to join in the┆ 0x1000…1020 20 74 72 61 6e 73 61 63 74 69 6f 6e 2e 20 20 54 68 65 20 70 65 65 72 20 6f 72 20 73 65 72 76 65 ┆ transaction. The peer or serve┆ 0x1020…1040 72 0a 20 20 20 20 20 70 72 6f 63 65 73 73 20 72 65 63 65 69 76 65 73 20 61 20 53 49 47 54 52 41 ┆r process receives a SIGTRA┆ 0x1040…1060 4e 53 20 73 69 67 6e 61 6c 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 61 74 20 69 74 20 69 73 ┆NS signal to indicate that it is┆ 0x1060…1080 0a 20 20 20 20 20 61 62 6f 75 74 20 74 6f 20 65 6e 74 65 72 20 74 68 65 20 74 72 61 6e 73 61 63 ┆ about to enter the transac┆ 0x1080…10a0 74 69 6f 6e 2e 20 20 4f 6e 63 65 20 74 68 65 20 73 69 67 6e 61 6c 20 68 61 73 20 62 65 65 6e 0a ┆tion. Once the signal has been ┆ 0x10a0…10c0 20 20 20 20 20 70 72 6f 63 65 73 73 65 64 2c 20 61 6c 6c 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 ┆ processed, all _ r_ e_ a_ d┆ 0x10c0…10e0 20 61 6e 64 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 73 79 73 74 65 6d 20 63 61 6c 6c ┆ and _ w_ r_ i_ t_ e system call┆ 0x10e0…1100 73 20 62 79 20 65 69 74 68 65 72 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 61 72 65 20 6c 6f 67 ┆s by either process are log┆ 0x1100…1120 67 65 64 20 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 2e 0a ┆ged as part of the transaction. ┆ 0x1120…1140 0a 20 20 20 20 20 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 74 08 74 08 74 ┆ i i i io o o oc c c ct t t┆ 0x1140…1160 08 74 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 0a 0a 20 20 20 20 20 46 49 4f 41 53 59 4e 43 20 ┆ tl l l ls s s s FIOASYNC ┆ 0x1160…1180 20 20 20 20 20 20 73 65 74 73 20 61 6e 64 20 63 6c 65 61 72 73 20 61 73 79 6e 63 68 72 6f 6e 6f ┆ sets and clears asynchrono┆ 0x1180…11a0 75 73 20 49 2f 4f 20 6f 6e 20 74 68 65 20 63 68 61 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆us I/O on the chan- ┆ 0x11a0…11c0 20 20 20 20 20 20 20 20 6e 65 6c 2e 20 20 49 66 20 61 73 79 6e 63 68 72 6f 6e 6f 75 73 20 49 2f ┆ nel. If asynchronous I/┆ 0x11c0…11e0 4f 20 69 73 20 73 65 6c 65 63 74 65 64 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 ┆O is selected for the ┆ 0x11e0…1200 20 20 20 20 20 20 20 20 20 20 63 68 61 6e 6e 65 6c 2c 20 61 20 53 49 47 49 4f 20 73 69 67 6e 61 ┆ channel, a SIGIO signa┆ 0x1200…1220 6c 20 69 73 20 73 65 6e 74 20 74 6f 20 74 68 65 20 70 72 6f 2d 0a 20 20 20 20 20 20 20 20 20 20 ┆l is sent to the pro- ┆ 0x1220…1240 20 20 20 20 20 20 20 20 20 20 63 65 73 73 20 77 68 65 6e 20 74 68 65 72 65 20 69 73 20 64 61 74 ┆ cess when there is dat┆ 0x1240…1260 61 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 72 65 61 64 2e 0a 0a 20 20 20 20 20 46 49 4f 4e 42 ┆a available to read. FIONB┆ 0x1260…1280 49 4f 20 20 20 20 20 20 20 20 73 65 74 73 20 61 6e 64 20 63 6c 65 61 72 73 20 6e 6f 6e 2d 62 6c ┆IO sets and clears non-bl┆ 0x1280…12a0 6f 63 6b 69 6e 67 20 49 2f 4f 20 6f 6e 20 74 68 65 20 63 68 61 6e 2d 0a 20 20 20 20 20 20 20 20 ┆ocking I/O on the chan- ┆ 0x12a0…12c0 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 6c 2e 0a 0a 20 20 20 20 20 46 49 4f 4e 52 45 41 44 20 ┆ nel. FIONREAD ┆ 0x12c0…12e0 20 20 20 20 20 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 ┆ returns the number of byte┆ 0x12e0…1300 73 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆s contained in the ┆ 0x1300…1320 20 20 20 20 20 20 20 6e 65 78 74 20 6d 65 73 73 61 67 65 2e 20 20 52 65 74 75 72 6e 73 20 61 20 ┆ next message. Returns a ┆ 0x1320…1340 30 20 69 66 20 6e 6f 20 6d 65 73 73 61 67 65 73 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 ┆0 if no messages are ┆ 0x1340…1360 20 20 20 20 20 20 20 20 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 72 65 61 64 2e 0a 0a 53 08 53 ┆ available to read. S S┆ 0x1360…1380 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 4c 08 ┆ S SE E E EE E E E A A A AL L L ┆ 0x1380…13a0 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆LS S S SO O O O User Comman┆ 0x13a0…13c0 64 73 20 28 31 29 3a 20 20 6d 6b 69 70 63 6e 6f 64 65 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 ┆ds (1): mkipcnode System C┆ 0x13c0…13e0 61 6c 6c 73 20 28 32 29 3a 20 20 6f 70 65 6e 2c 20 63 6c 6f 73 65 2c 20 72 65 61 64 2c 20 77 72 ┆alls (2): open, close, read, wr┆ 0x13e0…1400 69 74 65 2c 20 69 6f 63 74 6c 0a 20 20 20 20 20 53 79 73 74 65 6d 20 46 61 63 69 6c 69 74 69 65 ┆ite, ioctl System Facilitie┆ 0x1400…1420 73 20 28 34 29 3a 20 20 6d 78 69 70 63 0a 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 ┆s (4): mxipc System Manage┆ 0x1420…1440 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 3a 20 20 6d 6b 6e 6f 64 0a 20 20 20 20 20 54 08 54 08 ┆r Commands (8): mknod T T ┆ 0x1440…1460 54 08 54 58 08 58 08 58 08 58 20 50 08 50 08 50 08 50 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f ┆T TX X X X P P P Pr r r ro o o o┆ 0x1460…1480 67 08 67 08 67 08 67 72 08 72 08 72 08 72 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 6d 08 6d 08 ┆g g g gr r r ra a a am m m mm m ┆ 0x1480…14a0 6d 08 6d 65 08 65 08 65 08 65 72 08 72 08 72 08 72 27 08 27 08 27 08 27 73 08 73 08 73 08 73 20 ┆m me e e er r r r' ' ' 's s s s ┆ 0x14a0…14c0 47 08 47 08 47 08 47 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 65 08 65 08 ┆G G G Gu u u ui i i id d d de e ┆ 0x14c0…14e0 65 08 65 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 ┆e e March 1989 ┆ 0x14e0…1500 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┆ 0x1500…151e 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 ┆erence ┆