|
|
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: f
Length: 3929 (0xf59)
Names: »fread.3s«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/fread.3s«
0x000…020 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_┆ 0x020…040 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┆ 0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 72 65 61 64 28 33 73 29 0a 0a 0a 0a ┆ions fread(3s) ┆ 0x060…080 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 ┆ 0x080…0a0 20 20 66 72 65 61 64 2c 20 66 77 72 69 74 65 20 2d 20 62 69 6e 61 72 79 20 69 6e 70 75 74 2f 6f ┆ fread, fwrite - binary input/o┆ 0x0a0…0c0 75 74 70 75 74 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 ┆utput S S S SY Y Y YN N N NT T ┆ 0x0c0…0e0 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 ┆T TA A A AX X X X # # # #i ┆ 0x0e0…100 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 ┆i i in n n nc c c cl l l lu u u ┆ 0x100…120 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 ┆ud d d de e e e < < < <s s s st ┆ 0x120…140 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 08 2e 08 ┆t t td d d di i i io o o o. . . ┆ 0x140…160 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 ┆.h h h h> > > > s s s si i┆ 0x160…180 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 ┆ i iz z z ze e e e_ _ _ _t t t t┆ 0x180…1a0 20 66 08 66 08 66 08 66 72 08 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 64 ┆ f f f fr r r re e e ea a a ad d┆ 0x1a0…1c0 08 64 08 64 28 08 28 08 28 08 28 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08 72 08 72 ┆ d d( ( ( (p p p pt t t tr r r r┆ 0x1c0…1e0 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 ┆, , , , s s s si i i iz z z ze e┆ 0x1e0…200 08 65 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 69 08 69 08 69 08 69 74 08 74 08 74 08 ┆ e e, , , , n n n ni i i it t t ┆ 0x200…220 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 73 08 ┆te e e em m m ms s s s, , , , s ┆ 0x220…240 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 65 61 08 61 08 61 08 ┆s s st t t tr r r re e e ea a a ┆ 0x240…260 61 6d 08 6d 08 6d 08 6d 29 08 29 08 29 08 29 0a 20 20 20 20 20 76 08 76 08 76 08 76 6f 08 6f 08 ┆am m m m) ) ) ) v v v vo o ┆ 0x260…280 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 ┆o oi i i id d d d * * * *p p p p┆ 0x280…2a0 74 08 74 08 74 08 74 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 ┆t t t tr r r r; ; ; ; s s s┆ 0x2a0…2c0 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f 74 08 ┆ si i i iz z z ze e e e_ _ _ _t ┆ 0x2c0…2e0 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 ┆t t t s s s si i i iz z z ze e e┆ 0x2e0…300 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 ┆ e, , , , n n n ni i i it t t te┆ 0x300…320 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 ┆ e e em m m ms s s s; ; ; ; ┆ 0x320…340 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 20 2a 08 ┆ F F F FI I I IL L L LE E E E * ┆ 0x340…360 2a 08 2a 08 2a 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 ┆ 0x360…380 65 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 73 08 73 ┆ea a a am m m m; ; ; ; s s┆ 0x380…3a0 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f ┆ s si i i iz z z ze e e e_ _ _ _┆ 0x3a0…3c0 74 08 74 08 74 08 74 20 66 08 66 08 66 08 66 77 08 77 08 77 08 77 72 08 72 08 72 08 72 69 08 69 ┆t t t t f f f fw w w wr r r ri i┆ 0x3c0…3e0 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 28 08 28 08 28 08 28 70 08 70 08 70 08 70 ┆ i it t t te e e e( ( ( (p p p p┆ 0x3e0…400 74 08 74 08 74 08 74 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 69 08 69 ┆t t t tr r r r, , , , s s s si i┆ 0x400…420 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 ┆ i iz z z ze e e e, , , , n n n ┆ 0x420…440 6e 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 73 08 73 ┆ni i i it t t te e e em m m ms s┆ 0x440…460 08 73 08 73 2c 08 2c 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 ┆ s s, , , , s s s st t t tr r r ┆ 0x460…480 72 65 08 65 08 65 08 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 ┆re e e ea a a am m m m) ) ) ) ┆ 0x480…4a0 20 20 20 76 08 76 08 76 08 76 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 ┆ v v v vo o o oi i i id d d d ┆ 0x4a0…4c0 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08 72 08 72 3b 08 3b 08 ┆* * * *p p p pt t t tr r r r; ; ┆ 0x4c0…4e0 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 ┆; ; s s s si i i iz z z ze ┆ 0x4e0…500 65 08 65 08 65 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 69 ┆e e e_ _ _ _t t t t s s s si i i┆ 0x500…520 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 69 ┆ iz z z ze e e e, , , , n n n ni┆ 0x520…540 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 73 08 73 08 73 ┆ i i it t t te e e em m m ms s s┆ 0x540…560 08 73 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 4c ┆ s; ; ; ; F F F FI I I IL L┆ 0x560…580 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 08 ┆ L LE E E E * * * *s s s st t t ┆ 0x580…5a0 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 3b ┆tr r r re e e ea a a am m m m; ;┆ 0x5a0…5c0 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 ┆ ; ; D D D DE E E ES S S SC C C┆ 0x5c0…5e0 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 ┆ CR R R RI I I IP P P PT T T TI ┆ 0x5e0…600 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 66 5f 08 72 5f ┆I I IO O O ON N N N _ f_ r_┆ 0x600…620 08 65 5f 08 61 5f 08 64 20 72 65 61 64 73 20 69 6e 74 6f 20 61 6e 20 61 72 72 61 79 20 70 6f 69 ┆ e_ a_ d reads into an array poi┆ 0x620…640 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 70 5f 08 74 5f 08 72 20 75 70 20 74 6f 20 5f 08 6e 5f 08 ┆nted to by _ p_ t_ r up to _ n_ ┆ 0x640…660 69 5f 08 74 5f 08 65 5f 08 6d 5f 08 73 0a 20 20 20 20 20 69 74 65 6d 73 20 6f 66 20 64 61 74 61 ┆i_ t_ e_ m_ s items of data┆ 0x660…680 20 66 72 6f 6d 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2c 20 77 68 65 72 65 20 ┆ from _ s_ t_ r_ e_ a_ m, where ┆ 0x680…6a0 61 6e 20 69 74 65 6d 20 6f 66 20 64 61 74 61 20 69 73 20 61 0a 20 20 20 20 20 73 65 71 75 65 6e ┆an item of data is a sequen┆ 0x6a0…6c0 63 65 20 6f 66 20 62 79 74 65 73 20 28 6e 6f 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 74 65 72 ┆ce of bytes (not necessarily ter┆ 0x6c0…6e0 6d 69 6e 61 74 65 64 20 62 79 20 61 20 6e 75 6c 6c 0a 20 20 20 20 20 62 79 74 65 29 20 6f 66 20 ┆minated by a null byte) of ┆ 0x6e0…700 6c 65 6e 67 74 68 20 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 2e 20 20 5f 08 66 5f 08 72 5f 08 65 5f ┆length _ s_ i_ z_ e. _ f_ r_ e_┆ 0x700…720 08 61 5f 08 64 20 73 74 6f 70 73 20 72 65 61 64 69 6e 67 20 62 79 74 65 73 20 69 66 20 61 6e 20 ┆ a_ d stops reading bytes if an ┆ 0x720…740 65 6e 64 2d 0a 20 20 20 20 20 6f 66 2d 66 69 6c 65 20 6f 72 20 65 72 72 6f 72 20 63 6f 6e 64 69 ┆end- of-file or error condi┆ 0x740…760 74 69 6f 6e 20 69 73 20 65 6e 63 6f 75 6e 74 65 72 65 64 20 77 68 69 6c 65 20 72 65 61 64 69 6e ┆tion is encountered while readin┆ 0x760…780 67 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2c 20 6f 72 20 69 66 ┆g _ s_ t_ r_ e_ a_ m, or if┆ 0x780…7a0 20 5f 08 6e 5f 08 69 5f 08 74 5f 08 65 5f 08 6d 5f 08 73 20 69 74 65 6d 73 20 68 61 76 65 20 62 ┆ _ n_ i_ t_ e_ m_ s items have b┆ 0x7a0…7c0 65 65 6e 20 72 65 61 64 2e 20 20 5f 08 66 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 69 6e 63 72 65 ┆een read. _ f_ r_ e_ a_ d incre┆ 0x7c0…7e0 6d 65 6e 74 73 0a 20 20 20 20 20 74 68 65 20 64 61 74 61 20 70 6f 69 6e 74 65 72 20 69 6e 20 5f ┆ments the data pointer in _┆ 0x7e0…800 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 20 74 6f 20 70 6f 69 6e 74 20 74 6f 20 74 68 ┆ s_ t_ r_ e_ a_ m to point to th┆ 0x800…820 65 20 62 79 74 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 20 74 68 65 20 6c 61 73 74 20 62 ┆e byte following the last b┆ 0x820…840 79 74 65 20 72 65 61 64 20 69 66 20 74 68 65 72 65 20 69 73 20 6f 6e 65 2e 20 20 5f 08 66 5f 08 ┆yte read if there is one. _ f_ ┆ 0x840…860 72 5f 08 65 5f 08 61 5f 08 64 20 64 6f 65 73 20 6e 6f 74 20 63 68 61 6e 67 65 0a 20 20 20 20 20 ┆r_ e_ a_ d does not change ┆ 0x860…880 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f ┆the contents of _ s_ t_ r_ e_ a_┆ 0x880…8a0 08 6d 2e 20 20 5f 08 66 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 72 65 74 75 72 6e 73 20 74 68 65 ┆ m. _ f_ r_ e_ a_ d returns the┆ 0x8a0…8c0 20 6e 75 6d 62 65 72 20 6f 66 20 69 74 65 6d 73 0a 20 20 20 20 20 72 65 61 64 2e 0a 0a 20 20 20 ┆ number of items read. ┆ 0x8c0…8e0 20 20 5f 08 66 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 77 72 69 74 65 73 20 74 6f 20 74 ┆ _ f_ w_ r_ i_ t_ e writes to t┆ 0x8e0…900 68 65 20 6e 61 6d 65 64 20 6f 75 74 70 75 74 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f ┆he named output _ s_ t_ r_ e_ a_┆ 0x900…920 08 6d 20 61 74 20 6d 6f 73 74 20 5f 08 6e 5f 08 69 5f 08 74 5f 08 65 5f 08 6d 5f 08 73 0a 20 20 ┆ m at most _ n_ i_ t_ e_ m_ s ┆ 0x920…940 20 20 20 69 74 65 6d 73 20 6f 66 20 64 61 74 61 20 66 72 6f 6d 20 74 68 65 20 61 72 72 61 79 20 ┆ items of data from the array ┆ 0x940…960 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 70 5f 08 74 5f 08 72 2c 20 77 68 65 72 65 20 61 ┆pointed to by _ p_ t_ r, where a┆ 0x960…980 6e 0a 20 20 20 20 20 69 74 65 6d 20 6f 66 20 64 61 74 61 20 69 73 20 61 20 73 65 71 75 65 6e 63 ┆n item of data is a sequenc┆ 0x980…9a0 65 20 6f 66 20 62 79 74 65 73 20 28 6e 6f 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 74 65 72 2d ┆e of bytes (not necessarily ter-┆ 0x9a0…9c0 0a 20 20 20 20 20 6d 69 6e 61 74 65 64 20 62 79 20 61 20 6e 75 6c 6c 20 62 79 74 65 29 20 6f 66 ┆ minated by a null byte) of┆ 0x9c0…9e0 20 6c 65 6e 67 74 68 20 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 2e 20 20 5f 08 66 5f 08 77 5f 08 72 ┆ length _ s_ i_ z_ e. _ f_ w_ r┆ 0x9e0…a00 5f 08 69 5f 08 74 5f 08 65 20 73 74 6f 70 73 20 77 72 69 74 2d 0a 20 20 20 20 20 69 6e 67 20 77 ┆_ i_ t_ e stops writ- ing w┆ 0xa00…a20 68 65 6e 20 69 74 20 68 61 73 20 77 72 69 74 74 65 6e 20 5f 08 6e 5f 08 69 5f 08 74 5f 08 65 5f ┆hen it has written _ n_ i_ t_ e_┆ 0xa20…a40 08 6d 5f 08 73 20 69 74 65 6d 73 20 6f 66 20 64 61 74 61 20 6f 72 20 69 66 20 61 6e 20 65 72 72 ┆ m_ s items of data or if an err┆ 0xa40…a60 6f 72 0a 20 20 20 20 20 63 6f 6e 64 69 74 69 6f 6e 20 69 73 20 65 6e 63 6f 75 6e 74 65 72 65 64 ┆or condition is encountered┆ 0xa60…a80 20 6f 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 5f 08 66 5f 08 77 5f ┆ on _ s_ t_ r_ e_ a_ m. _ f_ w_┆ 0xa80…aa0 08 72 5f 08 69 5f 08 74 5f 08 65 20 64 6f 65 73 20 6e 6f 74 20 63 68 61 6e 67 65 0a 20 20 20 20 ┆ r_ i_ t_ e does not change ┆ 0xaa0…ac0 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 61 72 72 61 79 20 70 6f 69 6e 74 ┆ the contents of the array point┆ 0xac0…ae0 65 64 20 74 6f 20 62 79 20 5f 08 70 5f 08 74 5f 08 72 2e 20 20 5f 08 66 5f 08 77 5f 08 72 5f 08 ┆ed to by _ p_ t_ r. _ f_ w_ r_ ┆ 0xae0…b00 69 5f 08 74 5f 08 65 20 69 6e 63 72 65 2d 0a 20 20 20 20 20 6d 65 6e 74 73 20 74 68 65 20 64 61 ┆i_ t_ e incre- ments the da┆ 0xb00…b20 74 61 2d 70 6f 69 6e 74 65 72 20 69 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d ┆ta-pointer in _ s_ t_ r_ e_ a_ m┆ 0xb20…b40 20 62 79 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 0a 20 20 20 20 20 77 72 69 ┆ by the number of bytes wri┆ 0xb40…b60 74 74 65 6e 2e 20 20 5f 08 66 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 72 65 74 75 72 6e ┆tten. _ f_ w_ r_ i_ t_ e return┆ 0xb60…b80 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 69 74 65 6d 73 20 77 72 69 74 74 65 6e 2e 0a 0a ┆s the number of items written. ┆ 0xb80…ba0 20 20 20 20 20 49 66 20 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 20 6f 72 20 5f 08 6e 5f 08 69 5f 08 ┆ If _ s_ i_ z_ e or _ n_ i_ ┆ 0xba0…bc0 74 5f 08 65 5f 08 6d 5f 08 73 20 69 73 20 7a 65 72 6f 2c 20 74 68 65 6e 20 5f 08 66 5f 08 72 5f ┆t_ e_ m_ s is zero, then _ f_ r_┆ 0xbc0…be0 08 65 5f 08 61 5f 08 64 20 61 6e 64 20 5f 08 66 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 ┆ e_ a_ d and _ f_ w_ r_ i_ t_ e ┆ 0xbe0…c00 72 65 74 75 72 6e 20 61 0a 20 20 20 20 20 76 61 6c 75 65 20 6f 66 20 30 20 61 6e 64 20 64 6f 20 ┆return a value of 0 and do ┆ 0xc00…c20 6e 6f 74 20 65 66 66 65 63 74 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 5f 08 73 5f 08 74 5f 08 ┆not effect the state of _ s_ t_ ┆ 0xc20…c40 72 5f 08 65 5f 08 61 5f 08 6d 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 ┆r_ e_ a_ m. R R R RE E E ET T T┆ 0xc40…c60 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 ┆ TU U U UR R R RN N N N V V V VA┆ 0xc60…c80 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 ┆ A A AL L L LU U U UE E E E ┆ 0xc80…ca0 20 41 73 20 73 74 61 74 65 64 20 61 62 6f 76 65 2c 20 74 68 65 73 65 20 66 75 6e 63 74 69 6f 6e ┆ As stated above, these function┆ 0xca0…cc0 73 20 72 65 74 75 72 6e 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 69 74 65 6d 73 0a 20 20 20 ┆s return the number of items ┆ 0xcc0…ce0 20 20 72 65 61 64 2f 77 72 69 74 74 65 6e 2e 20 20 54 68 69 73 20 6e 75 6d 62 65 72 20 6d 61 79 ┆ read/written. This number may┆ 0xce0…d00 20 62 65 20 6c 65 73 73 20 74 68 61 6e 20 5f 08 6e 5f 08 69 5f 08 74 5f 08 65 5f 08 6d 5f 08 73 ┆ be less than _ n_ i_ t_ e_ m_ s┆ 0xd00…d20 20 69 66 20 61 0a 20 20 20 20 20 72 65 61 64 2f 77 72 69 74 65 20 65 72 72 6f 72 20 6f 63 63 75 ┆ if a read/write error occu┆ 0xd20…d40 72 73 2e 20 4f 6e 20 65 72 72 6f 72 2c 20 74 68 65 20 65 72 72 6f 72 20 69 6e 64 69 63 61 74 6f ┆rs. On error, the error indicato┆ 0xd40…d60 72 20 66 6f 72 0a 20 20 20 20 20 74 68 65 20 73 74 72 65 61 6d 20 69 73 20 73 65 74 2e 20 49 6e ┆r for the stream is set. In┆ 0xd60…d80 20 6f 72 64 65 72 20 74 6f 20 64 69 73 74 69 6e 67 75 69 73 68 20 62 65 74 77 65 65 6e 20 74 68 ┆ order to distinguish between th┆ 0xd80…da0 65 20 65 72 72 6f 72 0a 20 20 20 20 20 69 6e 64 69 63 61 74 6f 72 20 61 6e 64 20 74 68 65 20 65 ┆e error indicator and the e┆ 0xda0…dc0 6e 64 2d 6f 66 2d 66 69 6c 65 20 69 6e 64 69 63 61 74 6f 72 2c 20 74 68 65 20 5f 08 66 5f 08 65 ┆nd-of-file indicator, the _ f_ e┆ 0xdc0…de0 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 20 6f 72 20 5f 08 66 5f 08 65 5f 08 6f 5f 08 66 0a 20 20 20 ┆_ r_ r_ o_ r or _ f_ e_ o_ f ┆ 0xde0…e00 20 20 72 6f 75 74 69 6e 65 20 6d 75 73 74 20 62 65 20 75 73 65 64 2e 20 4f 6e 20 65 72 72 6f 72 ┆ routine must be used. On error┆ 0xe00…e20 2c 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 ┆, _ e_ r_ r_ n_ o is set to indi┆ 0xe20…e40 63 61 74 65 20 74 68 65 0a 20 20 20 20 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 ┆cate the error. E E E ER R┆ 0xe40…e60 08 52 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 ┆ R RR R R RO O O OR R R RS S S S┆ 0xe60…e80 0a 20 20 20 20 20 52 65 66 65 72 20 74 6f 20 5f 08 70 5f 08 75 5f 08 74 5f 08 63 28 33 29 2e 0a ┆ Refer to _ p_ u_ t_ c(3). ┆ 0xe80…ea0 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 ┆ S S S SE E E EE E E E A A A AL ┆ 0xea0…ec0 4c 08 4c 08 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 ┆L L LS S S SO O O O System ┆ 0xec0…ee0 43 61 6c 6c 73 20 28 32 29 3a 20 72 65 61 64 2c 20 77 72 69 74 65 0a 20 20 20 20 20 4c 69 62 72 ┆Calls (2): read, write Libr┆ 0xee0…f00 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 66 65 6f 66 2c 20 66 65 72 72 6f 72 2c ┆ary Functions (3): feof, ferror,┆ 0xf00…f20 20 66 6f 70 65 6e 2c 20 70 72 69 6e 74 66 2c 20 70 75 74 63 0a 0a 44 65 63 65 6d 62 65 72 20 31 ┆ fopen, printf, putc December 1┆ 0xf20…f40 39 39 30 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 54 58 ┆990 TX┆ 0xf40…f59 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a ┆ Programmer's Reference ┆