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: f

⟦24c2aeca4⟧

    Length: 5146 (0x141a)
    Names: »fopen.3s«

Derivation

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

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 66 6f 70 65 6e 28 33 73 29 0a 0a 0a 0a   ┆ions               fopen(3s)    ┆
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 66 6f 70 65 6e 2c 20 66 72 65 6f 70 65 6e 2c 20 66 64 6f 70 65 6e 20 2d 20 6f 70 65 6e 20   ┆  fopen, freopen, fdopen - open ┆
0x00a0…00c0 61 20 73 74 72 65 61 6d 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54   ┆a stream  S S S SY Y Y YN N N NT┆
0x00c0…00e0 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 08 23 08   ┆ T T TA A A AX X X X      # # # ┆
0x00e0…0100 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 75   ┆#i i i in n n nc c c cl l l lu u┆
0x0100…0120 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 08   ┆ u ud d d de e e e < < < <s s s ┆
0x0120…0140 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 2e 08 2e   ┆st t t td d d di i i io o o o. .┆
0x0140…0160 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 46 08 46 08 46 08 46   ┆ . .h h h h> > > >       F F F F┆
0x0160…0180 49 08 49 08 49 08 49 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 20 2a 08 2a 08 2a 08 2a 66 08 66   ┆I I I IL L L LE E E E * * * *f f┆
0x0180…01a0 08 66 08 66 6f 08 6f 08 6f 08 6f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e   ┆ f fo o o op p p pe e e en n n n┆
0x01a0…01c0 28 08 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08   ┆( ( ( (f f f fi i i il l l le e ┆
0x01c0…01e0 65 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c   ┆e en n n na a a am m m me e e e,┆
0x01e0…0200 08 2c 08 2c 08 2c 20 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08   ┆ , , , t t t ty y y yp p p pe e ┆
0x0200…0220 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08   ┆e e) ) ) )      c c c ch h h ha ┆
0x0220…0240 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 69 08 69 08 69   ┆a a ar r r r * * * *f f f fi i i┆
0x0240…0260 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08   ┆ il l l le e e en n n na a a am ┆
0x0260…0280 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 74 08 74 08 74   ┆m m me e e e, , , , * * * *t t t┆
0x0280…02a0 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 0a   ┆ ty y y yp p p pe e e e; ; ; ;  ┆
0x02a0…02c0 20 20 20 20 20 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08   ┆     F F F FI I I IL L L LE E E ┆
0x02c0…02e0 45 20 2a 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 72 08 72 08 72 08 72 65 08 65 08 65 08 65 6f 08   ┆E * * * *f f f fr r r re e e eo ┆
0x02e0…0300 6f 08 6f 08 6f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 28 08 28 08 28 08   ┆o o op p p pe e e en n n n( ( ( ┆
0x0300…0320 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e   ┆(f f f fi i i il l l le e e en n┆
0x0320…0340 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c   ┆ n na a a am m m me e e e, , , ,┆
0x0340…0360 20 74 08 74 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 2c 08 2c   ┆ t t t ty y y yp p p pe e e e, ,┆
0x0360…0380 08 2c 08 2c 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 65 08 65 08 65 08   ┆ , , s s s st t t tr r r re e e ┆
0x0380…03a0 65 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08   ┆ea a a am m m m) ) ) )      c c ┆
0x03a0…03c0 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a   ┆c ch h h ha a a ar r r r * * * *┆
0x03c0…03e0 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e 08   ┆f f f fi i i il l l le e e en n ┆
0x03e0…0400 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20   ┆n na a a am m m me e e e, , , , ┆
0x0400…0420 2a 08 2a 08 2a 08 2a 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08   ┆* * * *t t t ty y y yp p p pe e ┆
0x0420…0440 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08   ┆e e; ; ; ;      F F F FI I I IL ┆
0x0440…0460 4c 08 4c 08 4c 45 08 45 08 45 08 45 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74   ┆L L LE E E E * * * *s s s st t t┆
0x0460…0480 08 74 72 08 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 3b 08   ┆ tr r r re e e ea a a am m m m; ┆
0x0480…04a0 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 4c 08   ┆; ; ;       F F F FI I I IL L L ┆
0x04a0…04c0 4c 45 08 45 08 45 08 45 20 2a 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 64 08 64 08 64 08 64 6f 08   ┆LE E E E * * * *f f f fd d d do ┆
0x04c0…04e0 6f 08 6f 08 6f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 28 08 28 08 28 08   ┆o o op p p pe e e en n n n( ( ( ┆
0x04e0…0500 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 65 08 65   ┆(f f f fi i i il l l ld d d de e┆
0x0500…0520 08 65 08 65 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 74 08 74 08 74 08 74 79 08 79 08 79 08   ┆ e es s s s, , , , t t t ty y y ┆
0x0520…0540 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08   ┆yp p p pe e e e) ) ) )      c c ┆
0x0540…0560 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a   ┆c ch h h ha a a ar r r r * * * *┆
0x0560…0580 74 08 74 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 3b 08 3b 08   ┆t t t ty y y yp p p pe e e e; ; ┆
0x0580…05a0 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 43 08   ┆; ;  D D D DE E E ES S S SC C C ┆
0x05a0…05c0 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 08 49   ┆CR R R RI I I IP P P PT T T TI I┆
0x05c0…05e0 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 66 5f 08 6f 5f 08   ┆ I IO O O ON N N N      _ f_ o_ ┆
0x05e0…0600 70 5f 08 65 5f 08 6e 20 6f 70 65 6e 73 20 74 68 65 20 66 69 6c 65 20 6e 61 6d 65 64 20 62 79 20   ┆p_ e_ n opens the file named by ┆
0x0600…0620 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 61 6e 64 20 61 73 73   ┆_ f_ i_ l_ e_ n_ a_ m_ e and ass┆
0x0620…0640 6f 63 69 61 74 65 73 20 61 0a 20 20 20 20 20 73 74 72 65 61 6d 20 77 69 74 68 20 69 74 2e 20 20   ┆ociates a      stream with it.  ┆
0x0640…0660 5f 08 66 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65   ┆_ f_ o_ p_ e_ n returns a pointe┆
0x0660…0680 72 20 74 6f 20 62 65 20 75 73 65 64 20 74 6f 20 69 64 65 6e 2d 0a 20 20 20 20 20 74 69 66 79 20   ┆r to be used to iden-      tify ┆
0x0680…06a0 74 68 65 20 73 74 72 65 61 6d 20 69 6e 20 73 75 62 73 65 71 75 65 6e 74 20 6f 70 65 72 61 74 69   ┆the stream in subsequent operati┆
0x06a0…06c0 6f 6e 73 2e 0a 0a 20 20 20 20 20 5f 08 54 5f 08 79 5f 08 70 5f 08 65 20 69 73 20 61 20 63 68 61   ┆ons.       _ T_ y_ p_ e is a cha┆
0x06c0…06e0 72 61 63 74 65 72 20 73 74 72 69 6e 67 20 68 61 76 69 6e 67 20 6f 6e 65 20 6f 66 20 74 68 65 20   ┆racter string having one of the ┆
0x06e0…0700 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 20 76 61 6c 75 65 73 3a 0a 0a 20 20 20 20 20 72 08 72   ┆following      values:       r r┆
0x0700…0720 08 72 08 72 20 20 20 20 6f 70 65 6e 20 66 6f 72 20 72 65 61 64 69 6e 67 0a 0a 20 20 20 20 20 77   ┆ r r    open for reading       w┆
0x0720…0740 08 77 08 77 08 77 20 20 20 20 63 72 65 61 74 65 20 66 6f 72 20 77 72 69 74 69 6e 67 0a 0a 20 20   ┆ w w w    create for writing    ┆
0x0740…0760 20 20 20 61 08 61 08 61 08 61 20 20 20 20 61 70 70 65 6e 64 3a 20 6f 70 65 6e 20 66 6f 72 20 77   ┆   a a a a    append: open for w┆
0x0760…0780 72 69 74 69 6e 67 20 61 74 20 65 6e 64 20 6f 66 20 66 69 6c 65 2c 20 6f 72 20 63 72 65 61 74 65   ┆riting at end of file, or create┆
0x0780…07a0 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 77 72 69 74 69 6e 67 0a 0a 20 20 20 20 20 49 6e 20   ┆ for           writing       In ┆
0x07a0…07c0 61 64 64 69 74 69 6f 6e 2c 20 65 61 63 68 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 20 6d 61 79 20   ┆addition, each _ t_ y_ p_ e may ┆
0x07c0…07e0 62 65 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 60 2b 27 20 74 6f 20 68 61 76 65 20 74 68 65   ┆be followed by a `+' to have the┆
0x07e0…0800 0a 20 20 20 20 20 66 69 6c 65 20 6f 70 65 6e 65 64 20 66 6f 72 20 72 65 61 64 69 6e 67 20 61 6e   ┆      file opened for reading an┆
0x0800…0820 64 20 77 72 69 74 69 6e 67 2e 20 20 60 60 72 2b 27 27 20 70 6f 73 69 74 69 6f 6e 73 20 74 68 65   ┆d writing.  ``r+'' positions the┆
0x0820…0840 0a 20 20 20 20 20 73 74 72 65 61 6d 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66   ┆      stream at the beginning of┆
0x0840…0860 20 74 68 65 20 66 69 6c 65 2c 20 60 60 77 2b 27 27 20 63 72 65 61 74 65 73 20 6f 72 20 74 72 75   ┆ the file, ``w+'' creates or tru┆
0x0860…0880 6e 2d 0a 20 20 20 20 20 63 61 74 65 73 20 69 74 2c 20 61 6e 64 20 60 60 61 2b 27 27 20 70 6f 73   ┆n-      cates it, and ``a+'' pos┆
0x0880…08a0 69 74 69 6f 6e 73 20 69 74 20 61 74 20 74 68 65 20 65 6e 64 2e 20 20 42 6f 74 68 20 72 65 61 64   ┆itions it at the end.  Both read┆
0x08a0…08c0 73 0a 20 20 20 20 20 61 6e 64 20 77 72 69 74 65 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 6f 6e   ┆s      and writes may be used on┆
0x08c0…08e0 20 72 65 61 64 2f 77 72 69 74 65 20 73 74 72 65 61 6d 73 2c 20 77 69 74 68 20 74 68 65 20 6c 69   ┆ read/write streams, with the li┆
0x08e0…0900 6d 69 2d 0a 20 20 20 20 20 74 61 74 69 6f 6e 20 74 68 61 74 20 61 6e 20 5f 08 66 5f 08 73 5f 08   ┆mi-      tation that an _ f_ s_ ┆
0x0900…0920 65 5f 08 65 5f 08 6b 2c 20 5f 08 72 5f 08 65 5f 08 77 5f 08 69 5f 08 6e 5f 08 64 2c 20 6f 72 20   ┆e_ e_ k, _ r_ e_ w_ i_ n_ d, or ┆
0x0920…0940 72 65 61 64 69 6e 67 20 61 6e 20 65 6e 64 2d 6f 66 2d 66 69 6c 65 20 6d 75 73 74 0a 20 20 20 20   ┆reading an end-of-file must     ┆
0x0940…0960 20 62 65 20 75 73 65 64 20 62 65 74 77 65 65 6e 20 61 20 72 65 61 64 20 61 6e 64 20 61 20 77 72   ┆ be used between a read and a wr┆
0x0960…0980 69 74 65 20 6f 72 20 76 69 63 65 2d 76 65 72 73 61 2e 0a 0a 20 20 20 20 20 5f 08 46 5f 08 72 5f   ┆ite or vice-versa.       _ F_ r_┆
0x0980…09a0 08 65 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 73 75 62 73 74 69 74 75 74 65 73 20 74 68 65 20 6e   ┆ e_ o_ p_ e_ n substitutes the n┆
0x09a0…09c0 61 6d 65 64 20 66 69 6c 65 20 69 6e 20 70 6c 61 63 65 20 6f 66 20 74 68 65 20 6f 70 65 6e 0a 20   ┆amed file in place of the open  ┆
0x09c0…09e0 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 49 74 20 72 65 74 75   ┆    _ s_ t_ r_ e_ a_ m.  It retu┆
0x09e0…0a00 72 6e 73 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 76 61 6c 75 65 20 6f 66 20 5f 08 73 5f 08 74   ┆rns the original value of _ s_ t┆
0x0a00…0a20 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 54 68 65 20 6f 72 69 2d 0a 20 20 20 20 20 67 69 6e   ┆_ r_ e_ a_ m.  The ori-      gin┆
0x0a20…0a40 61 6c 20 73 74 72 65 61 6d 20 69 73 20 63 6c 6f 73 65 64 2e 0a 0a 20 20 20 20 20 5f 08 46 5f 08   ┆al stream is closed.       _ F_ ┆
0x0a40…0a60 72 5f 08 65 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 69 73 20 74 79 70 69 63 61 6c 6c 79 20 75 73   ┆r_ e_ o_ p_ e_ n is typically us┆
0x0a60…0a80 65 64 20 74 6f 20 61 74 74 61 63 68 20 74 68 65 20 70 72 65 6f 70 65 6e 65 64 20 63 6f 6e 73 74   ┆ed to attach the preopened const┆
0x0a80…0aa0 61 6e 74 0a 20 20 20 20 20 6e 61 6d 65 73 2c 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08   ┆ant      names, s s s st t t td ┆
0x0aa0…0ac0 64 08 64 08 64 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73   ┆d d di i i in n n n, , , , s s s┆
0x0ac0…0ae0 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 74 08   ┆ st t t td d d do o o ou u u ut ┆
0x0ae0…0b00 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64   ┆t t t, , , , s s s st t t td d d┆
0x0b00…0b20 08 64 65 08 65 08 65 08 65 72 08 72 08 72 08 72 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 74   ┆ de e e er r r rr r r r, , , , t┆
0x0b20…0b40 6f 20 73 70 65 63 69 66 69 65 64 20 66 69 6c 65 73 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 64 5f   ┆o specified files.       _ f_ d_┆
0x0b40…0b60 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 61 73 73 6f 63 69 61 74 65 73 20 61 20 73 74 72 65 61 6d 20   ┆ o_ p_ e_ n associates a stream ┆
0x0b60…0b80 77 69 74 68 20 61 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 20 6f 62 74 61 69 6e 65 64 0a   ┆with a file descriptor obtained ┆
0x0b80…0ba0 20 20 20 20 20 66 72 6f 6d 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2c 20 5f 08 64 5f 08 75 5f 08   ┆     from _ o_ p_ e_ n, _ d_ u_ ┆
0x0ba0…0bc0 70 2c 20 5f 08 63 5f 08 72 5f 08 65 5f 08 61 5f 08 74 2c 20 6f 72 20 5f 08 70 5f 08 69 5f 08 70   ┆p, _ c_ r_ e_ a_ t, or _ p_ i_ p┆
0x0bc0…0be0 5f 08 65 28 32 29 2e 20 20 54 68 65 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 20 6f 66 20 74 68 65   ┆_ e(2).  The _ t_ y_ p_ e of the┆
0x0be0…0c00 20 73 74 72 65 61 6d 0a 20 20 20 20 20 6d 75 73 74 20 61 67 72 65 65 20 77 69 74 68 20 74 68 65   ┆ stream      must agree with the┆
0x0c00…0c20 20 6d 6f 64 65 20 6f 66 20 74 68 65 20 6f 70 65 6e 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 54 68   ┆ mode of the open file.       Th┆
0x0c20…0c40 65 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 20 66 6f 72 20 5f 08 66 5f 08 6f 5f 08 70 5f 08 65 5f   ┆e _ t_ y_ p_ e for _ f_ o_ p_ e_┆
0x0c40…0c60 08 6e 20 61 6e 64 20 5f 08 66 5f 08 72 5f 08 65 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 6d 61 79   ┆ n and _ f_ r_ e_ o_ p_ e_ n may┆
0x0c60…0c80 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 20 61 64 64 69 74 69 6f 6e 61 6c 0a 20 20 20 20 20 66 6c   ┆ also contain additional      fl┆
0x0c80…0ca0 61 67 73 20 74 6f 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e   ┆ags to be passed to _ o_ p_ e_ n┆
0x0ca0…0cc0 2c 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 2c 20 6f 72 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f   ┆, _ r_ e_ a_ d, or _ w_ r_ i_ t_┆
0x0cc0…0ce0 08 65 28 32 29 2c 20 70 6c 61 63 65 64 20 61 66 74 65 72 0a 20 20 20 20 20 74 68 65 20 6f 6e 65   ┆ e(2), placed after      the one┆
0x0ce0…0d00 20 6f 72 20 74 77 6f 2d 63 68 61 72 61 63 74 65 72 73 20 64 65 73 63 72 69 62 65 64 20 61 62 6f   ┆ or two-characters described abo┆
0x0d00…0d20 76 65 2e 20 20 54 68 65 20 66 6c 61 67 73 20 61 72 65 0a 20 20 20 20 20 65 78 70 72 65 73 73 65   ┆ve.  The flags are      expresse┆
0x0d20…0d40 64 20 61 73 20 74 77 6f 2d 63 68 61 72 61 63 74 65 72 20 61 62 62 72 65 76 69 61 74 69 6f 6e 73   ┆d as two-character abbreviations┆
0x0d40…0d60 2c 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 61 70 20 20 20 4f 5f   ┆, as follows:            ap   O_┆
0x0d60…0d80 41 50 50 45 4e 44 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20   ┆APPEND            open          ┆
0x0d80…0da0 20 65 78 20 20 20 4f 5f 45 58 43 4c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20   ┆ ex   O_EXCL              open  ┆
0x0da0…0dc0 20 20 20 20 20 20 20 20 20 69 63 20 20 20 4f 5f 43 4c 49 45 4e 54 20 20 20 20 20 20 20 20 20 20   ┆         ic   O_CLIENT          ┆
0x0dc0…0de0 20 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 20 20 4f 5f 46 4f 52 43 45 4f 50 45   ┆  open           if   O_FORCEOPE┆
0x0de0…0e00 4e 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 69   ┆N         open                 i┆
0x0e00…0e20 70 20 20 20 4f 5f 50 45 45 52 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20 20 20   ┆p   O_PEER              open    ┆
0x0e20…0e40 20 20 20 20 20 20 20 69 73 20 20 20 4f 5f 53 45 52 56 45 52 20 20 20 20 20 20 20 20 20 20 20 20   ┆       is   O_SERVER            ┆
0x0e40…0e60 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 6c 73 20 20 20 4f 5f 53 48 4c 4f 43 4b 20 20 20 20   ┆open           ls   O_SHLOCK    ┆
0x0e60…0e80 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 6c 78 20 20 20 4f 5f 45 58   ┆        open           lx   O_EX┆
0x0e80…0ea0 4c 4f 43 4b 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 6e   ┆LOCK            open           n┆
0x0ea0…0ec0 64 20 20 20 4f 5f 4e 44 45 4c 41 59 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 0a 20 20 20   ┆d   O_NDELAY            open    ┆
0x0ec0…0ee0 20 20 20 20 20 20 20 73 61 20 20 20 49 4f 5f 4e 4f 53 49 47 41 42 4f 52 54 20 20 20 20 20 20 20   ┆       sa   IO_NOSIGABORT       ┆
0x0ee0…0f00 72 65 61 64 2f 77 72 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 73 65 20 20 20 49 4f 5f 4e 4f 53   ┆read/write           se   IO_NOS┆
0x0f00…0f20 49 47 45 52 52 20 20 20 20 20 20 20 20 20 72 65 61 64 2f 77 72 69 74 65 0a 0a 20 20 20 20 20 54   ┆IGERR         read/write       T┆
0x0f20…0f40 68 65 20 63 68 61 72 61 63 74 65 72 20 70 61 69 72 73 20 6d 61 79 20 62 65 20 73 65 70 61 72 61   ┆he character pairs may be separa┆
0x0f40…0f60 74 65 64 20 62 79 20 73 70 61 63 65 73 20 66 6f 72 20 72 65 61 64 61 62 69 6c 2d 0a 20 20 20 20   ┆ted by spaces for readabil-     ┆
0x0f60…0f80 20 69 74 79 2e 0a 0a 45 08 45 08 45 08 45 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08   ┆ ity.  E E E EX X X XA A A AM M ┆
0x0f80…0fa0 4d 08 4d 50 08 50 08 50 08 50 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 0a 20 20 20 20 20 54 68   ┆M MP P P PL L L LE E E E      Th┆
0x0fa0…0fc0 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 20 6f 70 65 6e 73 20 69 70 63 5f 66 69   ┆e following example opens ipc_fi┆
0x0fc0…0fe0 6c 65 20 61 73 20 61 20 54 58 20 49 50 43 20 6e 6f 64 65 2c 20 77 69 74 68 0a 20 20 20 20 20 74   ┆le as a TX IPC node, with      t┆
0x0fe0…1000 68 65 20 4f 5f 46 4f 52 43 45 4f 50 45 4e 20 61 6e 64 20 4f 5f 53 45 52 56 45 52 20 66 6c 61 67   ┆he O_FORCEOPEN and O_SERVER flag┆
0x1000…1020 73 20 70 61 73 73 65 64 20 74 6f 20 74 68 65 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 63 61 6c   ┆s passed to the _ o_ p_ e_ n cal┆
0x1020…1040 6c 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 66 20 3d 20 66 6f 70 65 6e 28 22 69 70 63 5f 66 69 6c   ┆l.            f = fopen("ipc_fil┆
0x1040…1060 65 22 2c 20 22 77 2b 20 69 66 20 69 73 22 29 3b 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45   ┆e", "w+ if is");  S S S SE E E E┆
0x1060…1080 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f   ┆E E E E A A A AL L L LS S S SO O┆
0x1080…10a0 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 6f 70 65   ┆ O O      System Calls (2):  ope┆
0x10a0…10c0 6e 2c 20 72 65 61 64 2c 20 77 72 69 74 65 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 43 61 6c 6c   ┆n, read, write      Library Call┆
0x10c0…10e0 73 20 28 33 29 3a 20 20 66 63 6c 6f 73 65 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08   ┆s (3):  fclose  D D D DI I I IA ┆
0x10e0…1100 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08   ┆A A AG G G GN N N NO O O OS S S ┆
0x1100…1120 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20   ┆ST T T TI I I IC C C CS S S S   ┆
0x1120…1140 20 20 20 5f 08 66 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 61 6e 64 20 5f 08 66 5f 08 72 5f 08 65   ┆   _ f_ o_ p_ e_ n and _ f_ r_ e┆
0x1140…1160 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 72 65 74 75 72 6e 20 74 68 65 20 70 6f 69 6e 74 65 72 20   ┆_ o_ p_ e_ n return the pointer ┆
0x1160…1180 4e 08 4e 08 4e 08 4e 55 08 55 08 55 08 55 4c 08 4c 08 4c 08 4c 4c 08 4c 08 4c 08 4c 20 69 66 20   ┆N N N NU U U UL L L LL L L L if ┆
0x1180…11a0 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 63 61 6e 6e 6f 74 0a   ┆_ f_ i_ l_ e_ n_ a_ m_ e cannot ┆
0x11a0…11c0 20 20 20 20 20 62 65 20 61 63 63 65 73 73 65 64 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08   ┆     be accessed.  L L L LI I I ┆
0x11c0…11e0 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08 41 08 41 54 08 54   ┆IM M M MI I I IT T T TA A A AT T┆
0x11e0…1200 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 53 08 53 08 53 08 53   ┆ T TI I I IO O O ON N N NS S S S┆
0x1200…1220 0a 20 20 20 20 20 5f 08 66 5f 08 64 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 69 73 20 6e 6f 74 20   ┆      _ f_ d_ o_ p_ e_ n is not ┆
0x1220…1240 70 6f 72 74 61 62 6c 65 20 74 6f 20 73 79 73 74 65 6d 73 20 6f 74 68 65 72 20 74 68 61 6e 20 55   ┆portable to systems other than U┆
0x1240…1260 4e 49 58 2e 0a 0a 20 20 20 20 20 54 68 65 20 72 65 61 64 2f 77 72 69 74 65 20 5f 08 74 5f 08 79   ┆NIX.       The read/write _ t_ y┆
0x1260…1280 5f 08 70 5f 08 65 5f 08 73 20 64 6f 20 6e 6f 74 20 65 78 69 73 74 20 6f 6e 20 61 6c 6c 20 73 79   ┆_ p_ e_ s do not exist on all sy┆
0x1280…12a0 73 74 65 6d 73 2e 20 20 54 68 6f 73 65 0a 20 20 20 20 20 73 79 73 74 65 6d 73 20 77 69 74 68 6f   ┆stems.  Those      systems witho┆
0x12a0…12c0 75 74 20 72 65 61 64 2f 77 72 69 74 65 20 6d 6f 64 65 73 20 77 69 6c 6c 20 70 72 6f 62 61 62 6c   ┆ut read/write modes will probabl┆
0x12c0…12e0 79 20 74 72 65 61 74 20 74 68 65 0a 20 20 20 20 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 20 61 73   ┆y treat the      _ t_ y_ p_ e as┆
0x12e0…1300 20 69 66 20 74 68 65 20 27 2b 27 20 77 61 73 20 6e 6f 74 20 70 72 65 73 65 6e 74 2e 0a 0a 20 20   ┆ if the '+' was not present.    ┆
0x1300…1320 20 20 20 54 68 65 20 65 78 74 65 6e 64 65 64 20 6f 70 65 6e 20 61 6e 64 20 72 65 61 64 2f 77 72   ┆   The extended open and read/wr┆
0x1320…1340 69 74 65 20 66 6c 61 67 73 20 64 6f 20 6e 6f 74 20 65 78 69 73 74 20 6f 6e 20 6f 74 68 65 72 0a   ┆ite flags do not exist on other ┆
0x1340…1360 20 20 20 20 20 73 79 73 74 65 6d 73 2e 0a 0a 20 20 20 20 20 54 58 20 74 72 61 6e 73 61 63 74 69   ┆     systems.       TX transacti┆
0x1360…1380 6f 6e 73 20 64 6f 20 6e 6f 74 20 77 6f 72 6b 20 77 69 74 68 20 73 74 72 65 61 6d 20 66 69 6c 65   ┆ons do not work with stream file┆
0x1380…13a0 73 20 6f 72 20 66 69 6c 65 73 0a 20 20 20 20 20 6f 70 65 6e 65 64 20 77 69 74 68 20 74 68 65 20   ┆s or files      opened with the ┆
0x13a0…13c0 5f 08 66 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 28 20 29 20 6c 69 62 72 61 72 79 20 63 61 6c 6c   ┆_ f_ o_ p_ e_ n ( ) library call┆
0x13c0…13e0 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 20 20   ┆.  March 1989                   ┆
0x13e0…1400 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 65 72   ┆           TX Programmer's Refer┆
0x1400…141a 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                     ┆ence                      ┆