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

⟦ceecee38a⟧

    Length: 6551 (0x1997)
    Names: »intro.3s«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat3/intro.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 69 6e 74 72 6f 28 33 73 29 0a 0a 0a 0a   ┆ions               intro(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 69 6e 74 72 6f 20 33 73 20 2d 20 73 74 64 69 6f 2c 20 73 74 61 6e 64 61 72 64 20 62 75 66   ┆  intro 3s - stdio, standard buf┆
0x00a0…00c0 66 65 72 65 64 20 69 6e 70 75 74 2f 6f 75 74 70 75 74 20 70 61 63 6b 61 67 65 0a 0a 53 08 53 08   ┆fered input/output package  S S ┆
0x00c0…00e0 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 41 58   ┆S SY Y Y YN N N NT T T TA A A AX┆
0x00e0…0100 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 6e 08   ┆ X X X      # # # #i i i in n n ┆
0x0100…0120 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 08 65   ┆nc c c cl l l lu u u ud d d de e┆
0x0120…0140 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08   ┆ e e < < < <s s s st t t td d d ┆
0x0140…0160 64 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e   ┆di i i io o o o. . . .h h h h> >┆
0x0160…0180 08 3e 08 3e 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 4c   ┆ > >       F F F FI I I IL L L L┆
0x0180…01a0 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 08 74 64 08 64   ┆E E E E * * * *s s s st t t td d┆
0x01a0…01c0 08 64 08 64 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 46   ┆ d di i i in n n n; ; ; ;      F┆
0x01c0…01e0 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 45 20 2a 08 2a 08   ┆ F F FI I I IL L L LE E E E * * ┆
0x01e0…0200 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 75   ┆* *s s s st t t td d d do o o ou┆
0x0200…0220 08 75 08 75 08 75 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 46 08 46 08 46 08   ┆ u u ut t t t; ; ; ;      F F F ┆
0x0220…0240 46 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 73 08   ┆FI I I IL L L LE E E E * * * *s ┆
0x0240…0260 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 65 08 65 08 65 08 65 72 08 72 08 72 08   ┆s s st t t td d d de e e er r r ┆
0x0260…0280 72 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53   ┆rr r r r; ; ; ;  D D D DE E E ES┆
0x0280…02a0 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50   ┆ S S SC C C CR R R RI I I IP P P┆
0x02a0…02c0 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20   ┆ PT T T TI I I IO O O ON N N N  ┆
0x02c0…02e0 20 20 20 20 54 68 65 20 60 60 73 74 61 6e 64 61 72 64 20 49 2f 4f 27 27 20 66 75 6e 63 74 69 6f   ┆    The ``standard I/O'' functio┆
0x02e0…0300 6e 73 20 70 72 6f 76 69 64 65 20 61 20 75 73 65 72 2d 6c 65 76 65 6c 20 62 75 66 66 65 72 2d 0a   ┆ns provide a user-level buffer- ┆
0x0300…0320 20 20 20 20 20 69 6e 67 20 73 63 68 65 6d 65 2e 20 20 54 68 65 20 69 6e 2d 6c 69 6e 65 20 6d 61   ┆     ing scheme.  The in-line ma┆
0x0320…0340 63 72 6f 73 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 61 6e 64 20 5f 08 70 5f 08 75 5f 08 74 5f   ┆cros _ g_ e_ t_ c and _ p_ u_ t_┆
0x0340…0360 08 63 20 68 61 6e 64 6c 65 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 74 65 72 73 20 71 75 69 63   ┆ c handle charac-      ters quic┆
0x0360…0380 6b 6c 79 2e 20 20 54 68 65 20 68 69 67 68 65 72 20 6c 65 76 65 6c 20 72 6f 75 74 69 6e 65 73 20   ┆kly.  The higher level routines ┆
0x0380…03a0 5f 08 67 5f 08 65 5f 08 74 5f 08 73 2c 20 5f 08 66 5f 08 67 5f 08 65 5f 08 74 5f 08 73 2c 20 5f   ┆_ g_ e_ t_ s, _ f_ g_ e_ t_ s, _┆
0x03a0…03c0 08 73 5f 08 63 5f 08 61 5f 08 6e 5f 08 66 2c 0a 20 20 20 20 20 5f 08 66 5f 08 73 5f 08 63 5f 08   ┆ s_ c_ a_ n_ f,      _ f_ s_ c_ ┆
0x03c0…03e0 61 5f 08 6e 5f 08 66 2c 20 5f 08 66 5f 08 72 5f 08 65 5f 08 61 5f 08 64 2c 20 5f 08 70 5f 08 75   ┆a_ n_ f, _ f_ r_ e_ a_ d, _ p_ u┆
0x03e0…0400 5f 08 74 5f 08 73 2c 20 5f 08 66 5f 08 70 5f 08 75 5f 08 74 5f 08 73 2c 20 5f 08 70 5f 08 72 5f   ┆_ t_ s, _ f_ p_ u_ t_ s, _ p_ r_┆
0x0400…0420 08 69 5f 08 6e 5f 08 74 5f 08 66 2c 20 5f 08 66 5f 08 70 5f 08 72 5f 08 69 5f 08 6e 5f 08 74 5f   ┆ i_ n_ t_ f, _ f_ p_ r_ i_ n_ t_┆
0x0420…0440 08 66 2c 20 5f 08 66 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 61 6c 6c 20 75 73 65 0a 20   ┆ f, _ f_ w_ r_ i_ t_ e all use  ┆
0x0440…0460 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 61 6e 64 20 5f 08 70 5f 08 75 5f 08 74 5f 08   ┆    _ g_ e_ t_ c and _ p_ u_ t_ ┆
0x0460…0480 63 3b 20 74 68 65 79 20 63 61 6e 20 62 65 20 66 72 65 65 6c 79 20 69 6e 74 65 72 6d 69 78 65 64   ┆c; they can be freely intermixed┆
0x0480…04a0 2e 0a 0a 20 20 20 20 20 41 20 66 69 6c 65 20 77 69 74 68 20 61 73 73 6f 63 69 61 74 65 64 20 62   ┆.       A file with associated b┆
0x04a0…04c0 75 66 66 65 72 69 6e 67 20 69 73 20 63 61 6c 6c 65 64 20 61 20 5f 08 73 5f 08 74 5f 08 72 5f 08   ┆uffering is called a _ s_ t_ r_ ┆
0x04c0…04e0 65 5f 08 61 5f 08 6d 2c 20 61 6e 64 20 69 73 0a 20 20 20 20 20 64 65 63 6c 61 72 65 64 20 74 6f   ┆e_ a_ m, and is      declared to┆
0x04e0…0500 20 62 65 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 64 65 66 69 6e 65 64 20 74 79 70 65 20   ┆ be a pointer to a defined type ┆
0x0500…0520 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 45 2e 20 20 5f   ┆F F F FI I I IL L L LE E E E.  _┆
0x0520…0540 08 66 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 0a 20 20 20 20 20 63 72 65 61 74 65 73 20 63 65 72 74   ┆ f_ o_ p_ e_ n      creates cert┆
0x0540…0560 61 69 6e 20 64 65 73 63 72 69 70 74 69 76 65 20 64 61 74 61 20 66 6f 72 20 61 20 73 74 72 65 61   ┆ain descriptive data for a strea┆
0x0560…0580 6d 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20   ┆m and returns a      pointer to ┆
0x0580…05a0 64 65 73 69 67 6e 61 74 65 20 74 68 65 20 73 74 72 65 61 6d 20 69 6e 20 61 6c 6c 20 66 75 72 74   ┆designate the stream in all furt┆
0x05a0…05c0 68 65 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 0a 20 20 20 20 20 54 68 65 72 65 20 61 72 65   ┆her transactions.      There are┆
0x05c0…05e0 20 33 20 6e 6f 72 6d 61 6c 6c 79 20 6f 70 65 6e 20 73 74 72 65 61 6d 73 20 77 69 74 68 20 63 6f   ┆ 3 normally open streams with co┆
0x05e0…0600 6e 73 74 61 6e 74 20 70 6f 69 6e 74 65 72 73 0a 20 20 20 20 20 64 65 63 6c 61 72 65 64 20 69 6e   ┆nstant pointers      declared in┆
0x0600…0620 20 74 68 65 20 69 6e 63 6c 75 64 65 20 66 69 6c 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64   ┆ the include file and associated┆
0x0620…0640 20 77 69 74 68 20 74 68 65 20 73 74 61 6e 2d 0a 20 20 20 20 20 64 61 72 64 20 6f 70 65 6e 20 66   ┆ with the stan-      dard open f┆
0x0640…0660 69 6c 65 73 3a 0a 0a 20 20 20 20 20 73 74 64 69 6e 20 20 20 20 20 73 74 61 6e 64 61 72 64 20 69   ┆iles:       stdin     standard i┆
0x0660…0680 6e 70 75 74 20 66 69 6c 65 0a 20 20 20 20 20 73 74 64 6f 75 74 20 20 20 20 73 74 61 6e 64 61 72   ┆nput file      stdout    standar┆
0x0680…06a0 64 20 6f 75 74 70 75 74 20 66 69 6c 65 0a 20 20 20 20 20 73 74 64 65 72 72 20 20 20 20 73 74 61   ┆d output file      stderr    sta┆
0x06a0…06c0 6e 64 61 72 64 20 65 72 72 6f 72 20 66 69 6c 65 0a 0a 20 20 20 20 20 41 20 63 6f 6e 73 74 61 6e   ┆ndard error file       A constan┆
0x06c0…06e0 74 20 60 60 70 6f 69 6e 74 65 72 27 27 20 4e 08 4e 08 4e 08 4e 55 08 55 08 55 08 55 4c 08 4c 08   ┆t ``pointer'' N N N NU U U UL L ┆
0x06e0…0700 4c 08 4c 4c 08 4c 08 4c 08 4c 20 28 30 29 20 64 65 73 69 67 6e 61 74 65 73 20 6e 6f 20 73 74 72   ┆L LL L L L (0) designates no str┆
0x0700…0720 65 61 6d 20 61 74 20 61 6c 6c 2e 0a 0a 20 20 20 20 20 41 6e 20 69 6e 74 65 67 65 72 20 63 6f 6e   ┆eam at all.       An integer con┆
0x0720…0740 73 74 61 6e 74 20 45 08 45 08 45 08 45 4f 08 4f 08 4f 08 4f 46 08 46 08 46 08 46 20 28 2d 31 29   ┆stant E E E EO O O OF F F F (-1)┆
0x0740…0760 20 69 73 20 72 65 74 75 72 6e 65 64 20 75 70 6f 6e 20 65 6e 64 20 6f 66 20 66 69 6c 65 20 6f 72   ┆ is returned upon end of file or┆
0x0760…0780 0a 20 20 20 20 20 65 72 72 6f 72 20 62 79 20 69 6e 74 65 67 65 72 20 66 75 6e 63 74 69 6f 6e 73   ┆      error by integer functions┆
0x0780…07a0 20 74 68 61 74 20 64 65 61 6c 20 77 69 74 68 20 73 74 72 65 61 6d 73 2e 0a 0a 20 20 20 20 20 41   ┆ that deal with streams.       A┆
0x07a0…07c0 6e 79 20 72 6f 75 74 69 6e 65 20 74 68 61 74 20 75 73 65 73 20 74 68 65 20 73 74 61 6e 64 61 72   ┆ny routine that uses the standar┆
0x07c0…07e0 64 20 69 6e 70 75 74 2f 6f 75 74 70 75 74 20 70 61 63 6b 61 67 65 20 6d 75 73 74 0a 20 20 20 20   ┆d input/output package must     ┆
0x07e0…0800 20 69 6e 63 6c 75 64 65 20 74 68 65 20 68 65 61 64 65 72 20 66 69 6c 65 20 3c 20 73 74 64 69 6f   ┆ include the header file < stdio┆
0x0800…0820 2e 68 20 3e 20 6f 66 20 70 65 72 74 69 6e 65 6e 74 20 6d 61 63 72 6f 0a 20 20 20 20 20 64 65 66   ┆.h > of pertinent macro      def┆
0x0820…0840 69 6e 69 74 69 6f 6e 73 2e 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 63 6f 6e   ┆initions.  The functions and con┆
0x0840…0860 73 74 61 6e 74 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 65 63 2d 0a 20 20 20 20 20 74 69   ┆stants mentioned in sec-      ti┆
0x0860…0880 6f 6e 73 20 6c 61 62 65 6c 65 64 20 60 60 33 73 27 27 20 61 72 65 20 64 65 63 6c 61 72 65 64 20   ┆ons labeled ``3s'' are declared ┆
0x0880…08a0 69 6e 20 74 68 65 20 69 6e 63 6c 75 64 65 20 66 69 6c 65 20 61 6e 64 0a 20 20 20 20 20 6e 65 65   ┆in the include file and      nee┆
0x08a0…08c0 64 20 6e 6f 20 66 75 72 74 68 65 72 20 64 65 63 6c 61 72 61 74 69 6f 6e 2e 20 20 54 68 65 20 63   ┆d no further declaration.  The c┆
0x08c0…08e0 6f 6e 73 74 61 6e 74 73 2c 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 2d 0a 20 20 20 20 20 69   ┆onstants, and the follow-      i┆
0x08e0…0900 6e 67 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 61 73 20   ┆ng functions are implemented as ┆
0x0900…0920 6d 61 63 72 6f 73 3b 20 74 68 65 73 65 20 6e 61 6d 65 73 20 73 68 6f 75 6c 64 0a 20 20 20 20 20   ┆macros; these names should      ┆
0x0920…0940 6e 6f 74 20 62 65 20 72 65 64 65 63 6c 61 72 65 64 3a 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 2c   ┆not be redeclared: _ g_ e_ t_ c,┆
0x0940…0960 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 5f 08 68 5f 08 61 5f 08 72 2c 20 5f 08 70 5f 08 75 5f 08   ┆ _ g_ e_ t_ c_ h_ a_ r, _ p_ u_ ┆
0x0960…0980 74 5f 08 63 2c 20 5f 08 70 5f 08 75 5f 08 74 5f 08 63 5f 08 68 5f 08 61 5f 08 72 2c 20 5f 08 66   ┆t_ c, _ p_ u_ t_ c_ h_ a_ r, _ f┆
0x0980…09a0 5f 08 65 5f 08 6f 5f 08 66 2c 20 5f 08 66 5f 08 65 5f 08 72 5f 08 2d 0a 20 20 20 20 20 5f 08 72   ┆_ e_ o_ f, _ f_ e_ r_ -      _ r┆
0x09a0…09c0 5f 08 6f 5f 08 72 2c 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 6e 5f 08 6f 2e 0a 0a 53 08 53   ┆_ o_ r, _ f_ i_ l_ e_ n_ o.  S S┆
0x09c0…09e0 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 ┆
0x09e0…0a00 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆LS S S SO O O O      System Call┆
0x0a00…0a20 73 20 28 32 29 3a 20 20 63 6c 6f 73 65 2c 20 6f 70 65 6e 2c 20 72 65 61 64 0a 20 20 20 20 20 4c   ┆s (2):  close, open, read      L┆
0x0a20…0a40 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 66 72 65 61 64 2c 20 66 73   ┆ibrary Functions (3):  fread, fs┆
0x0a40…0a60 65 65 6b 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08   ┆eek  D D D DI I I IA A A AG G G ┆
0x0a60…0a80 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49   ┆GN N N NO O O OS S S ST T T TI I┆
0x0a80…0aa0 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 76 61 6c 75   ┆ I IC C C CS S S S      The valu┆
0x0aa0…0ac0 65 20 45 08 45 08 45 08 45 4f 08 4f 08 4f 08 4f 46 08 46 08 46 08 46 20 69 73 20 72 65 74 75 72   ┆e E E E EO O O OF F F F is retur┆
0x0ac0…0ae0 6e 65 64 20 75 6e 69 66 6f 72 6d 6c 79 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 61 74 20 61   ┆ned uniformly to indicate that a┆
0x0ae0…0b00 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 45 0a 20 20   ┆ F F F FI I I IL L L LE E E E   ┆
0x0b00…0b20 20 20 20 70 6f 69 6e 74 65 72 20 68 61 73 20 6e 6f 74 20 62 65 65 6e 20 69 6e 69 74 69 61 6c 69   ┆   pointer has not been initiali┆
0x0b20…0b40 7a 65 64 20 77 69 74 68 20 5f 08 66 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2c 20 69 6e 70 75 74 20   ┆zed with _ f_ o_ p_ e_ n, input ┆
0x0b40…0b60 28 6f 75 74 70 75 74 29 0a 20 20 20 20 20 68 61 73 20 62 65 65 6e 20 61 74 74 65 6d 70 74 65 64   ┆(output)      has been attempted┆
0x0b60…0b80 20 6f 6e 20 61 6e 20 6f 75 74 70 75 74 20 28 69 6e 70 75 74 29 20 73 74 72 65 61 6d 2c 20 6f 72   ┆ on an output (input) stream, or┆
0x0b80…0ba0 20 61 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 45 0a   ┆ a F F F FI I I IL L L LE E E E ┆
0x0ba0…0bc0 20 20 20 20 20 70 6f 69 6e 74 65 72 20 64 65 73 69 67 6e 61 74 65 73 20 63 6f 72 72 75 70 74 20   ┆     pointer designates corrupt ┆
0x0bc0…0be0 6f 72 20 6f 74 68 65 72 77 69 73 65 20 75 6e 69 6e 74 65 6c 6c 69 67 69 62 6c 65 20 46 08 46 08   ┆or otherwise unintelligible F F ┆
0x0be0…0c00 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 0a 20 20 20 20 20 64 61   ┆F FI I I IL L L LE E E E      da┆
0x0c00…0c20 74 61 2e 0a 0a 20 20 20 20 20 46 6f 72 20 70 75 72 70 6f 73 65 73 20 6f 66 20 65 66 66 69 63 69   ┆ta.       For purposes of effici┆
0x0c20…0c40 65 6e 63 79 2c 20 74 68 69 73 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65   ┆ency, this implementation of the┆
0x0c40…0c60 20 73 74 61 6e 2d 0a 20 20 20 20 20 64 61 72 64 20 6c 69 62 72 61 72 79 20 68 61 73 20 62 65 65   ┆ stan-      dard library has bee┆
0x0c60…0c80 6e 20 63 68 61 6e 67 65 64 20 74 6f 20 6c 69 6e 65 20 62 75 66 66 65 72 20 6f 75 74 70 75 74 20   ┆n changed to line buffer output ┆
0x0c80…0ca0 74 6f 20 61 0a 20 20 20 20 20 74 65 72 6d 69 6e 61 6c 20 62 79 20 64 65 66 61 75 6c 74 20 61 6e   ┆to a      terminal by default an┆
0x0ca0…0cc0 64 20 61 74 74 65 6d 70 74 73 20 74 6f 20 64 6f 20 74 68 69 73 20 74 72 61 6e 73 70 61 72 65 6e   ┆d attempts to do this transparen┆
0x0cc0…0ce0 74 6c 79 20 62 79 0a 20 20 20 20 20 66 6c 75 73 68 69 6e 67 20 74 68 65 20 6f 75 74 70 75 74 20   ┆tly by      flushing the output ┆
0x0ce0…0d00 77 68 65 6e 65 76 65 72 20 61 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 73 79 73 74 65 6d 20 63   ┆whenever a _ r_ e_ a_ d system c┆
0x0d00…0d20 61 6c 6c 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74   ┆all from the      standard input┆
0x0d20…0d40 20 69 73 20 6e 65 63 65 73 73 61 72 79 2e 20 20 54 68 69 73 20 69 73 20 61 6c 6d 6f 73 74 20 61   ┆ is necessary.  This is almost a┆
0x0d40…0d60 6c 77 61 79 73 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 74 72 61 6e 73 70 61 72 65 6e 74 2c 20 62 75   ┆lways            transparent, bu┆
0x0d60…0d80 74 20 6d 61 79 20 63 61 75 73 65 20 63 6f 6e 66 75 73 69 6f 6e 20 6f 72 20 6d 61 6c 66 75 6e 63   ┆t may cause confusion or malfunc┆
0x0d80…0da0 74 69 6f 6e 69 6e 67 20 6f 66 0a 20 20 20 20 20 70 72 6f 67 72 61 6d 73 20 77 68 69 63 68 20 75   ┆tioning of      programs which u┆
0x0da0…0dc0 73 65 20 73 74 61 6e 64 61 72 64 20 69 2f 6f 20 72 6f 75 74 69 6e 65 73 20 62 75 74 20 75 73 65   ┆se standard i/o routines but use┆
0x0dc0…0de0 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 74 68 65 6d 2d 0a 20 20 20 20 20 73 65 6c 76 65 73 20   ┆ _ r_ e_ a_ d them-      selves ┆
0x0de0…0e00 74 6f 20 72 65 61 64 20 66 72 6f 6d 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 2e   ┆to read from the standard input.┆
0x0e00…0e20 0a 0a 20 20 20 20 20 49 6e 20 63 61 73 65 73 20 77 68 65 72 65 20 61 20 6c 61 72 67 65 20 61 6d   ┆       In cases where a large am┆
0x0e20…0e40 6f 75 6e 74 20 6f 66 20 63 6f 6d 70 75 74 61 74 69 6f 6e 20 69 73 20 64 6f 6e 65 20 61 66 74 65   ┆ount of computation is done afte┆
0x0e40…0e60 72 0a 20 20 20 20 20 70 72 69 6e 74 69 6e 67 20 70 61 72 74 20 6f 66 20 61 20 6c 69 6e 65 20 6f   ┆r      printing part of a line o┆
0x0e60…0e80 6e 20 61 6e 20 6f 75 74 70 75 74 20 74 65 72 6d 69 6e 61 6c 2c 20 69 74 20 69 73 20 6e 65 63 65   ┆n an output terminal, it is nece┆
0x0e80…0ea0 73 2d 0a 20 20 20 20 20 73 61 72 79 20 74 6f 20 5f 08 66 5f 08 66 5f 08 6c 5f 08 75 5f 08 73 5f   ┆s-      sary to _ f_ f_ l_ u_ s_┆
0x0ea0…0ec0 08 68 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 6f 75 74 70 75 74 20 62 65 66 6f 72 65 20 67 6f   ┆ h the standard output before go┆
0x0ec0…0ee0 69 6e 67 20 6f 66 66 20 61 6e 64 20 63 6f 6d 2d 0a 20 20 20 20 20 70 75 74 69 6e 67 20 73 6f 20   ┆ing off and com-      puting so ┆
0x0ee0…0f00 74 68 61 74 20 74 68 65 20 6f 75 74 70 75 74 20 77 69 6c 6c 20 61 70 70 65 61 72 2e 0a 0a 4c 08   ┆that the output will appear.  L ┆
0x0f00…0f20 4c 08 4c 08 4c 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08   ┆L L LI I I IM M M MI I I IT T T ┆
0x0f20…0f40 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e   ┆TA A A AT T T TI I I IO O O ON N┆
0x0f40…0f60 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 73 74 61 6e 64 61 72 64 20 62 75   ┆ N NS S S S      The standard bu┆
0x0f60…0f80 66 66 65 72 65 64 20 66 75 6e 63 74 69 6f 6e 73 20 64 6f 20 6e 6f 74 20 69 6e 74 65 72 61 63 74   ┆ffered functions do not interact┆
0x0f80…0fa0 20 77 65 6c 6c 20 77 69 74 68 0a 20 20 20 20 20 63 65 72 74 61 69 6e 20 6f 74 68 65 72 20 6c 69   ┆ well with      certain other li┆
0x0fa0…0fc0 62 72 61 72 79 20 61 6e 64 20 73 79 73 74 65 6d 20 66 75 6e 63 74 69 6f 6e 73 2c 20 65 73 70 65   ┆brary and system functions, espe┆
0x0fc0…0fe0 63 69 61 6c 6c 79 20 5f 08 76 5f 08 66 5f 08 6f 5f 08 72 5f 08 6b 0a 20 20 20 20 20 61 6e 64 20   ┆cially _ v_ f_ o_ r_ k      and ┆
0x0fe0…1000 5f 08 61 5f 08 62 5f 08 6f 5f 08 72 5f 08 74 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49   ┆_ a_ b_ o_ r_ t.  L L L LI I I I┆
0x1000…1020 53 08 53 08 53 08 53 54 08 54 08 54 08 54 20 4f 08 4f 08 4f 08 4f 46 08 46 08 46 08 46 20 46 08   ┆S S S ST T T T O O O OF F F F F ┆
0x1020…1040 46 08 46 08 46 55 08 55 08 55 08 55 4e 08 4e 08 4e 08 4e 43 08 43 08 43 08 43 54 08 54 08 54 08   ┆F F FU U U UN N N NC C C CT T T ┆
0x1040…1060 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 0a 20 20   ┆TI I I IO O O ON N N NS S S S   ┆
0x1060…1080 20 20 20 5f 08 4e 5f 08 61 5f 08 6d 5f 08 65 20 20 20 20 20 20 20 20 5f 08 41 5f 08 70 5f 08 70   ┆   _ N_ a_ m_ e        _ A_ p_ p┆
0x1080…10a0 5f 08 65 5f 08 61 5f 08 72 5f 08 73 20 5f 08 6f 5f 08 6e 20 5f 08 50 5f 08 61 5f 08 67 5f 08 65   ┆_ e_ a_ r_ s _ o_ n _ P_ a_ g_ e┆
0x10a0…10c0 20 20 20 20 5f 08 44 5f 08 65 5f 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 5f 08 69 5f   ┆    _ D_ e_ s_ c_ r_ i_ p_ t_ i_┆
0x10c0…10e0 08 6f 5f 08 6e 0a 20 20 20 20 20 63 6c 65 61 72 65 72 72 20 20 20 20 20 20 66 65 72 72 6f 72 2e   ┆ o_ n      clearerr      ferror.┆
0x10e0…1100 33 73 20 20 20 20 73 74 72 65 61 6d 20 73 74 61 74 75 73 20 69 6e 71 75 69 72 69 65 73 0a 20 20   ┆3s    stream status inquiries   ┆
0x1100…1120 20 20 20 66 63 6c 6f 73 65 20 20 20 20 20 20 20 20 66 63 6c 6f 73 65 2e 33 73 20 20 20 20 63 6c   ┆   fclose        fclose.3s    cl┆
0x1120…1140 6f 73 65 20 6f 72 20 66 6c 75 73 68 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 64 6f 70 65   ┆ose or flush a stream      fdope┆
0x1140…1160 6e 20 20 20 20 20 20 20 20 66 6f 70 65 6e 2e 33 73 20 20 20 20 20 6f 70 65 6e 20 61 20 73 74 72   ┆n        fopen.3s     open a str┆
0x1160…1180 65 61 6d 0a 20 20 20 20 20 66 65 6f 66 20 20 20 20 20 20 20 20 20 20 66 65 72 72 6f 72 2e 33 73   ┆eam      feof          ferror.3s┆
0x1180…11a0 20 20 20 20 73 74 72 65 61 6d 20 73 74 61 74 75 73 20 69 6e 71 75 69 72 69 65 73 0a 20 20 20 20   ┆    stream status inquiries     ┆
0x11a0…11c0 20 66 65 72 72 6f 72 20 20 20 20 20 20 20 20 66 65 72 72 6f 72 2e 33 73 20 20 20 20 73 74 72 65   ┆ ferror        ferror.3s    stre┆
0x11c0…11e0 61 6d 20 73 74 61 74 75 73 20 69 6e 71 75 69 72 69 65 73 0a 20 20 20 20 20 66 66 6c 75 73 68 20   ┆am status inquiries      fflush ┆
0x11e0…1200 20 20 20 20 20 20 20 66 63 6c 6f 73 65 2e 33 73 20 20 20 20 63 6c 6f 73 65 20 6f 72 20 66 6c 75   ┆       fclose.3s    close or flu┆
0x1200…1220 73 68 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 67 65 74 63 20 20 20 20 20 20 20 20 20 67   ┆sh a stream      fgetc         g┆
0x1220…1240 65 74 63 2e 33 73 20 20 20 20 20 20 67 65 74 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 77 6f 72   ┆etc.3s      get character or wor┆
0x1240…1260 64 20 66 72 6f 6d 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 67 65 74 73 20 20 20 20 20 20 20 20   ┆d from stream      fgets        ┆
0x1260…1280 20 67 65 74 73 2e 33 73 20 20 20 20 20 20 67 65 74 20 61 20 73 74 72 69 6e 67 20 66 72 6f 6d 20   ┆ gets.3s      get a string from ┆
0x1280…12a0 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 69 6c 65 6e 6f 20 20 20 20 20 20 20 20 66 65 72 72   ┆a stream      fileno        ferr┆
0x12a0…12c0 6f 72 2e 33 73 20 20 20 20 73 74 72 65 61 6d 20 73 74 61 74 75 73 20 69 6e 71 75 69 72 69 65 73   ┆or.3s    stream status inquiries┆
0x12c0…12e0 0a 20 20 20 20 20 66 6f 70 65 6e 20 20 20 20 20 20 20 20 20 66 6f 70 65 6e 2e 33 73 20 20 20 20   ┆      fopen         fopen.3s    ┆
0x12e0…1300 20 6f 70 65 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 70 72 69 6e 74 66 20 20 20 20 20   ┆ open a stream      fprintf     ┆
0x1300…1320 20 20 70 72 69 6e 74 66 2e 33 73 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 6f 75 74 70 75 74 20   ┆  printf.3s    formatted output ┆
0x1320…1340 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 66 70 75 74 63 20 20 20 20 20 20 20 20 20 70 75   ┆conversion      fputc         pu┆
0x1340…1360 74 63 2e 33 73 20 20 20 20 20 20 70 75 74 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 77 6f 72 64   ┆tc.3s      put character or word┆
0x1360…1380 20 6f 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 70 75 74 73 20 20 20 20 20 20 20 20 20   ┆ on a stream      fputs         ┆
0x1380…13a0 70 75 74 73 2e 33 73 20 20 20 20 20 20 70 75 74 20 61 20 73 74 72 69 6e 67 20 6f 6e 20 61 20 73   ┆puts.3s      put a string on a s┆
0x13a0…13c0 74 72 65 61 6d 0a 20 20 20 20 20 66 72 65 61 64 20 20 20 20 20 20 20 20 20 66 72 65 61 64 2e 33   ┆tream      fread         fread.3┆
0x13c0…13e0 73 20 20 20 20 20 62 75 66 66 65 72 65 64 20 62 69 6e 61 72 79 20 69 6e 70 75 74 2f 6f 75 74 70   ┆s     buffered binary input/outp┆
0x13e0…1400 75 74 0a 20 20 20 20 20 66 72 65 6f 70 65 6e 20 20 20 20 20 20 20 66 6f 70 65 6e 2e 33 73 20 20   ┆ut      freopen       fopen.3s  ┆
0x1400…1420 20 20 20 6f 70 65 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 73 63 61 6e 66 20 20 20 20   ┆   open a stream      fscanf    ┆
0x1420…1440 20 20 20 20 73 63 61 6e 66 2e 33 73 20 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 69 6e 70 75 74   ┆    scanf.3s     formatted input┆
0x1440…1460 20 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 66 73 65 65 6b 20 20 20 20 20 20 20 20 20 66   ┆ conversion      fseek         f┆
0x1460…1480 73 65 65 6b 2e 33 73 20 20 20 20 20 72 65 70 6f 73 69 74 69 6f 6e 20 61 20 73 74 72 65 61 6d 0a   ┆seek.3s     reposition a stream ┆
0x1480…14a0 20 20 20 20 20 66 74 65 6c 6c 20 20 20 20 20 20 20 20 20 66 73 65 65 6b 2e 33 73 20 20 20 20 20   ┆     ftell         fseek.3s     ┆
0x14a0…14c0 72 65 70 6f 73 69 74 69 6f 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 66 77 72 69 74 65 20   ┆reposition a stream      fwrite ┆
0x14c0…14e0 20 20 20 20 20 20 20 66 72 65 61 64 2e 33 73 20 20 20 20 20 62 75 66 66 65 72 65 64 20 62 69 6e   ┆       fread.3s     buffered bin┆
0x14e0…1500 61 72 79 20 69 6e 70 75 74 2f 6f 75 74 70 75 74 0a 20 20 20 20 20 67 65 74 63 20 20 20 20 20 20   ┆ary input/output      getc      ┆
0x1500…1520 20 20 20 20 67 65 74 63 2e 33 73 20 20 20 20 20 20 67 65 74 20 63 68 61 72 61 63 74 65 72 20 6f   ┆    getc.3s      get character o┆
0x1520…1540 72 20 77 6f 72 64 20 66 72 6f 6d 20 73 74 72 65 61 6d 0a 20 20 20 20 20 67 65 74 63 68 61 72 20   ┆r word from stream      getchar ┆
0x1540…1560 20 20 20 20 20 20 67 65 74 63 2e 33 73 20 20 20 20 20 20 67 65 74 20 63 68 61 72 61 63 74 65 72   ┆      getc.3s      get character┆
0x1560…1580 20 6f 72 20 77 6f 72 64 20 66 72 6f 6d 20 73 74 72 65 61 6d 0a 20 20 20 20 20 67 65 74 73 20 20   ┆ or word from stream      gets  ┆
0x1580…15a0 20 20 20 20 20 20 20 20 67 65 74 73 2e 33 73 20 20 20 20 20 20 67 65 74 20 61 20 73 74 72 69 6e   ┆        gets.3s      get a strin┆
0x15a0…15c0 67 20 66 72 6f 6d 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 67 65 74 77 20 20 20 20 20 20 20   ┆g from a stream      getw       ┆
0x15c0…15e0 20 20 20 67 65 74 63 2e 33 73 20 20 20 20 20 20 67 65 74 20 63 68 61 72 61 63 74 65 72 20 6f 72   ┆   getc.3s      get character or┆
0x15e0…1600 20 77 6f 72 64 20 66 72 6f 6d 20 73 74 72 65 61 6d 0a 20 20 20 20 20 70 72 69 6e 74 66 20 20 20   ┆ word from stream      printf   ┆
0x1600…1620 20 20 20 20 20 70 72 69 6e 74 66 2e 33 73 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 6f 75 74 70   ┆     printf.3s    formatted outp┆
0x1620…1640 75 74 20 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 70 75 74 63 20 20 20 20 20 20 20 20 20   ┆ut conversion      putc         ┆
0x1640…1660 20 70 75 74 63 2e 33 73 20 20 20 20 20 20 70 75 74 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 77   ┆ putc.3s      put character or w┆
0x1660…1680 6f 72 64 20 6f 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 70 75 74 63 68 61 72 20 20 20 20   ┆ord on a stream      putchar    ┆
0x1680…16a0 20 20 20 70 75 74 63 2e 33 73 20 20 20 20 20 20 70 75 74 20 63 68 61 72 61 63 74 65 72 20 6f 72   ┆   putc.3s      put character or┆
0x16a0…16c0 20 77 6f 72 64 20 6f 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 70 75 74 73 20 20 20 20 20   ┆ word on a stream      puts     ┆
0x16c0…16e0 20 20 20 20 20 70 75 74 73 2e 33 73 20 20 20 20 20 20 70 75 74 20 61 20 73 74 72 69 6e 67 20 6f   ┆     puts.3s      put a string o┆
0x16e0…1700 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 70 75 74 77 20 20 20 20 20 20 20 20 20 20 70 75   ┆n a stream      putw          pu┆
0x1700…1720 74 63 2e 33 73 20 20 20 20 20 20 70 75 74 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 77 6f 72 64   ┆tc.3s      put character or word┆
0x1720…1740 20 6f 6e 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 72 65 77 69 6e 64 20 20 20 20 20 20 20 20   ┆ on a stream      rewind        ┆
0x1740…1760 66 73 65 65 6b 2e 33 73 20 20 20 20 20 72 65 70 6f 73 69 74 69 6f 6e 20 61 20 73 74 72 65 61 6d   ┆fseek.3s     reposition a stream┆
0x1760…1780 0a 20 20 20 20 20 73 63 61 6e 66 20 20 20 20 20 20 20 20 20 73 63 61 6e 66 2e 33 73 20 20 20 20   ┆      scanf         scanf.3s    ┆
0x1780…17a0 20 66 6f 72 6d 61 74 74 65 64 20 69 6e 70 75 74 20 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20   ┆ formatted input conversion     ┆
0x17a0…17c0 20 73 65 74 62 75 66 20 20 20 20 20 20 20 20 73 65 74 62 75 66 2e 33 73 20 20 20 20 61 73 73 69   ┆ setbuf        setbuf.3s    assi┆
0x17c0…17e0 67 6e 20 62 75 66 66 65 72 69 6e 67 20 74 6f 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 73 65   ┆gn buffering to a stream      se┆
0x17e0…1800 74 62 75 66 66 65 72 20 20 20 20 20 73 65 74 62 75 66 2e 33 73 20 20 20 20 61 73 73 69 67 6e 20   ┆tbuffer     setbuf.3s    assign ┆
0x1800…1820 62 75 66 66 65 72 69 6e 67 20 74 6f 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 73 65 74 6c 69   ┆buffering to a stream      setli┆
0x1820…1840 6e 65 62 75 66 20 20 20 20 73 65 74 62 75 66 2e 33 73 20 20 20 20 61 73 73 69 67 6e 20 62 75 66   ┆nebuf    setbuf.3s    assign buf┆
0x1840…1860 66 65 72 69 6e 67 20 74 6f 20 61 20 73 74 72 65 61 6d 0a 20 20 20 20 20 73 70 72 69 6e 74 66 20   ┆fering to a stream      sprintf ┆
0x1860…1880 20 20 20 20 20 20 70 72 69 6e 74 66 2e 33 73 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 6f 75 74   ┆      printf.3s    formatted out┆
0x1880…18a0 70 75 74 20 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 73 73 63 61 6e 66 20 20 20 20 20 20   ┆put conversion      sscanf      ┆
0x18a0…18c0 20 20 73 63 61 6e 66 2e 33 73 20 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 69 6e 70 75 74 20 63   ┆  scanf.3s     formatted input c┆
0x18c0…18e0 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 74 65 6d 70 6e 61 6d 20 20 20 20 20 20 20 74 65 6d   ┆onversion      tempnam       tem┆
0x18e0…1900 70 6e 61 6d 2e 33 73 20 20 20 63 72 65 61 74 65 20 6e 61 6d 65 20 66 6f 72 20 74 65 6d 70 6f 72   ┆pnam.3s   create name for tempor┆
0x1900…1920 61 72 79 20 66 69 6c 65 0a 20 20 20 20 20 75 6e 67 65 74 63 20 20 20 20 20 20 20 20 75 6e 67 65   ┆ary file      ungetc        unge┆
[…truncated at 200 lines…]