|
|
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: u
Length: 2227 (0x8b3)
Names: »ungetc.3s«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/ungetc.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 75 6e 67 65 74 63 28 33 73 29 0a 0a 0a 0a ┆ions ungetc(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 75 6e 67 65 74 63 20 2d 20 70 75 73 68 20 63 68 61 72 61 63 74 65 72 20 62 61 63 6b 20 69 ┆ ungetc - push character back i┆ 0x0a0…0c0 6e 74 6f 20 69 6e 70 75 74 20 73 74 72 65 61 6d 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 ┆nto input stream S S S SY Y Y Y┆ 0x0c0…0e0 4e 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 ┆N N N NT T T TA A A AX X X X ┆ 0x0e0…100 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 ┆ # # # #i i i in n n nc c c cl ┆ 0x100…120 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c ┆l l lu u u ud d d de e e e < < <┆ 0x120…140 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 69 08 69 08 69 08 69 6f 08 ┆ <s s s st t t td d d di i i io ┆ 0x140…160 6f 08 6f 08 6f 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 ┆o o o. . . .h h h h> > > > ┆ 0x160…180 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 75 08 75 08 75 08 75 6e 08 ┆ i i i in n n nt t t t u u u un ┆ 0x180…1a0 6e 08 6e 08 6e 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 63 08 63 08 63 08 ┆n n ng g g ge e e et t t tc c c ┆ 0x1a0…1c0 63 28 08 28 08 28 08 28 63 08 63 08 63 08 63 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 74 08 ┆c( ( ( (c c c c, , , , s s s st ┆ 0x1c0…1e0 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 61 6d 08 6d 08 6d 08 ┆t t tr r r re e e ea a a am m m ┆ 0x1e0…200 6d 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 ┆m) ) ) ) i i i in n n nc c ┆ 0x200…220 63 08 63 20 63 08 63 08 63 08 63 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 46 08 46 08 46 08 46 49 ┆c c c c c c; ; ; ; F F F FI┆ 0x220…240 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 73 08 ┆ I I IL L L LE E E E * * * *s s ┆ 0x240…260 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 61 6d ┆s st t t tr r r re e e ea a a am┆ 0x260…280 08 6d 08 6d 08 6d 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 ┆ m m m; ; ; ; D D D DE E E ES S┆ 0x280…2a0 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 08 50 ┆ S SC C C CR R R RI I I IP P P P┆ 0x2a0…2c0 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 20 20 ┆T T T TI I I IO O O ON N N N ┆ 0x2c0…2e0 20 20 5f 08 75 5f 08 6e 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 69 6e 73 65 72 74 73 20 74 68 65 ┆ _ u_ n_ g_ e_ t_ c inserts the┆ 0x2e0…300 20 63 68 61 72 61 63 74 65 72 20 73 70 65 63 69 66 69 65 64 20 62 79 20 5f 08 63 20 28 63 6f 6e ┆ character specified by _ c (con┆ 0x300…320 76 65 72 74 65 64 20 74 6f 20 61 6e 0a 20 20 20 20 20 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e ┆verted to an u u u un n n n┆ 0x320…340 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 65 08 65 08 ┆s s s si i i ig g g gn n n ne e ┆ 0x340…360 65 08 65 64 08 64 08 64 08 64 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 ┆e ed d d d c c c ch h h ha a a a┆ 0x360…380 72 08 72 08 72 08 72 29 20 69 6e 74 6f 20 74 68 65 20 62 75 66 66 65 72 20 61 73 73 6f 63 69 61 ┆r r r r) into the buffer associa┆ 0x380…3a0 74 65 64 20 77 69 74 68 20 61 6e 20 69 6e 70 75 74 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 ┆ted with an input _ s_ t_ r┆ 0x3a0…3c0 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 54 68 61 74 20 63 68 61 72 61 63 74 65 72 2c 20 5f 08 63 2c ┆_ e_ a_ m. That character, _ c,┆ 0x3c0…3e0 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 20 62 79 20 74 68 65 20 6e 65 78 74 0a 20 20 ┆ will be returned by the next ┆ 0x3e0…400 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 63 61 6c 6c 20 6f 6e 20 74 68 61 74 20 5f 08 73 ┆ _ g_ e_ t_ c call on that _ s┆ 0x400…420 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 5f 08 75 5f 08 6e 5f 08 67 5f 08 65 5f 08 ┆_ t_ r_ e_ a_ m. _ u_ n_ g_ e_ ┆ 0x420…440 74 5f 08 63 20 72 65 74 75 72 6e 73 20 5f 08 63 2c 20 61 6e 64 20 6c 65 61 76 65 73 20 74 68 65 ┆t_ c returns _ c, and leaves the┆ 0x440…460 0a 20 20 20 20 20 66 69 6c 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 5f 08 73 5f ┆ file corresponding to _ s_┆ 0x460…480 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 20 75 6e 63 68 61 6e 67 65 64 2e 20 20 41 20 73 75 63 ┆ t_ r_ e_ a_ m unchanged. A suc┆ 0x480…4a0 63 65 73 73 66 75 6c 20 63 61 6c 6c 0a 20 20 20 20 20 74 6f 20 5f 08 75 5f 08 6e 5f 08 67 5f 08 ┆cessful call to _ u_ n_ g_ ┆ 0x4a0…4c0 65 5f 08 74 5f 08 63 20 63 6c 65 61 72 73 20 74 68 65 20 45 4f 46 20 69 6e 64 69 63 61 74 6f 72 ┆e_ t_ c clears the EOF indicator┆ 0x4c0…4e0 20 66 6f 72 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 0a 0a 20 20 20 20 20 46 ┆ for _ s_ t_ r_ e_ a_ m. F┆ 0x4e0…500 6f 75 72 20 62 79 74 65 73 20 6f 66 20 70 75 73 68 62 61 63 6b 20 61 72 65 20 67 75 61 72 61 6e ┆our bytes of pushback are guaran┆ 0x500…520 74 65 65 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 66 69 6c ┆teed. The value of the fil┆ 0x520…540 65 20 70 6f 73 69 74 69 6f 6e 20 69 6e 64 69 63 61 74 6f 72 20 66 6f 72 20 5f 08 73 5f 08 74 5f ┆e position indicator for _ s_ t_┆ 0x540…560 08 72 5f 08 65 5f 08 61 5f 08 6d 20 61 66 74 65 72 0a 20 20 20 20 20 72 65 61 64 69 6e 67 20 6f ┆ r_ e_ a_ m after reading o┆ 0x560…580 72 20 64 69 73 63 61 72 64 69 6e 67 20 61 6c 6c 20 70 75 73 68 65 64 2d 62 61 63 6b 20 63 68 61 ┆r discarding all pushed-back cha┆ 0x580…5a0 72 61 63 74 65 72 73 20 77 69 6c 6c 20 62 65 20 74 68 65 0a 20 20 20 20 20 73 61 6d 65 20 61 73 ┆racters will be the same as┆ 0x5a0…5c0 20 69 74 20 77 61 73 20 62 65 66 6f 72 65 20 74 68 65 20 63 68 61 72 61 63 74 65 72 73 20 77 65 ┆ it was before the characters we┆ 0x5c0…5e0 72 65 20 70 75 73 68 65 64 20 62 61 63 6b 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 63 20 65 71 75 ┆re pushed back. If _ c equ┆ 0x5e0…600 61 6c 73 20 45 4f 46 2c 20 5f 08 75 5f 08 6e 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 64 6f 65 73 ┆als EOF, _ u_ n_ g_ e_ t_ c does┆ 0x600…620 20 6e 6f 74 68 69 6e 67 20 74 6f 20 74 68 65 20 62 75 66 66 65 72 20 61 6e 64 0a 20 20 20 20 20 ┆ nothing to the buffer and ┆ 0x620…640 72 65 74 75 72 6e 73 20 45 4f 46 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f ┆returns EOF. _ f_ s_ e_ e_┆ 0x640…660 08 6b 2c 20 5f 08 72 5f 08 65 5f 08 77 5f 08 69 5f 08 6e 5f 08 64 20 61 6e 64 20 5f 08 66 5f 08 ┆ k, _ r_ e_ w_ i_ n_ d and _ f_ ┆ 0x660…680 73 5f 08 65 5f 08 74 5f 08 70 5f 08 6f 5f 08 73 20 65 72 61 73 65 20 74 68 65 20 6d 65 6d 6f 72 ┆s_ e_ t_ p_ o_ s erase the memor┆ 0x680…6a0 79 20 6f 66 20 69 6e 73 65 72 74 65 64 20 63 68 61 72 2d 0a 20 20 20 20 20 61 63 74 65 72 73 20 ┆y of inserted char- acters ┆ 0x6a0…6c0 66 6f 72 20 74 68 65 20 73 74 72 65 61 6d 20 6f 6e 20 77 68 69 63 68 20 74 68 65 79 20 61 72 65 ┆for the stream on which they are┆ 0x6c0…6e0 20 61 70 70 6c 69 65 64 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 ┆ applied. R R R RE E E ET T T T┆ 0x6e0…700 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 08 41 ┆U U U UR R R RN N N N V V V VA A┆ 0x700…720 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 20 5f ┆ A AL L L LU U U UE E E E _┆ 0x720…740 08 75 5f 08 6e 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 72 65 74 75 72 6e 73 20 45 4f 46 20 69 66 ┆ u_ n_ g_ e_ t_ c returns EOF if┆ 0x740…760 20 69 74 20 63 61 6e 6e 6f 74 20 69 6e 73 65 72 74 20 74 68 65 20 63 68 61 72 61 63 74 65 72 3b ┆ it cannot insert the character;┆ 0x760…780 20 6f 74 68 65 72 2d 0a 20 20 20 20 20 77 69 73 65 20 69 74 20 72 65 74 75 72 6e 73 20 74 68 65 ┆ other- wise it returns the┆ 0x780…7a0 20 63 68 72 61 72 61 63 74 65 72 20 70 75 73 68 65 64 20 62 61 63 6b 20 61 66 74 65 72 20 63 6f ┆ chraracter pushed back after co┆ 0x7a0…7c0 6e 76 65 72 73 69 6f 6e 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 ┆nversion. E E E ER R R RR R R R┆ 0x7c0…7e0 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 4e 6f 20 65 72 ┆O O O OR R R RS S S S No er┆ 0x7e0…800 72 6f 72 73 20 61 72 65 20 64 65 66 69 6e 65 64 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 ┆rors are defined. S S S SE E E ┆ 0x800…820 45 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 ┆EE E E E A A A AL L L LS S S SO ┆ 0x820…840 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 ┆O O O Library Functions (3)┆ 0x840…860 3a 20 66 73 65 65 6b 2c 20 67 65 74 63 2c 20 72 65 77 69 6e 64 2c 20 73 65 74 62 75 66 0a 0a 44 ┆: fseek, getc, rewind, setbuf D┆ 0x860…880 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ecember 1990 ┆ 0x880…8a0 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 65 6e 63 65 ┆ TX Programmer's Reference┆ 0x8a0…8b3 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆