|
|
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: g
Length: 2027 (0x7eb)
Names: »gets.3s«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/gets.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 20 67 65 74 73 28 33 73 29 0a 0a 0a 0a ┆ions gets(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 67 65 74 73 2c 20 66 67 65 74 73 20 2d 20 67 65 74 20 61 20 73 74 72 69 6e 67 20 66 72 6f ┆ gets, fgets - get a string fro┆ 0x0a0…0c0 6d 20 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 ┆m a stream S S S SY Y Y YN N N ┆ 0x0c0…0e0 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 20 23 08 23 08 ┆NT T T TA A A AX X X X # # ┆ 0x0e0…100 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 08 6c 08 6c 75 ┆# #i i i in n n nc c c cl l l lu┆ 0x100…120 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 3c 73 08 73 08 ┆ u u ud d d de e e e < < < <s s ┆ 0x120…140 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 6f 08 6f 08 6f 2e ┆s st t t td d d di i i io o o o.┆ 0x140…160 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 20 63 08 63 08 63 ┆ . . .h h h h> > > > c c c┆ 0x160…180 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 67 ┆ ch h h ha a a ar r r r * * * *g┆ 0x180…1a0 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 73 08 73 08 73 08 73 28 08 28 08 28 ┆ g g ge e e et t t ts s s s( ( (┆ 0x1a0…1c0 08 28 73 08 73 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 ┆ (s s s s) ) ) ) c c c ch h┆ 0x1c0…1e0 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 73 08 73 08 73 08 ┆ h ha a a ar r r r * * * *s s s ┆ 0x1e0…200 73 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 ┆s; ; ; ; c c c ch h h ha a┆ 0x200…220 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 67 08 67 08 67 08 ┆ a ar r r r * * * *f f f fg g g ┆ 0x220…240 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 73 08 73 08 73 08 73 28 08 28 08 28 08 28 73 08 73 ┆ge e e et t t ts s s s( ( ( (s s┆ 0x240…260 08 73 08 73 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 ┆ s s, , , , n n n n, , , , s s s┆ 0x260…280 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 08 ┆ st t t tr r r re e e ea a a am ┆ 0x280…2a0 6d 08 6d 08 6d 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 ┆m m m) ) ) ) c c c ch h h h┆ 0x2a0…2c0 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 3b 08 3b ┆a a a ar r r r * * * *s s s s; ;┆ 0x2c0…2e0 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 08 4c 08 4c 45 ┆ ; ; F F F FI I I IL L L LE┆ 0x2e0…300 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 72 08 72 08 ┆ E E E * * * *s s s st t t tr r ┆ 0x300…320 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 08 3b 08 3b 0a ┆r re e e ea a a am m m m; ; ; ; ┆ 0x320…340 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 08 52 ┆ D D D DE E E ES S S SC C C CR R┆ 0x340…360 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 08 49 ┆ R RI I I IP P P PT T T TI I I I┆ 0x360…380 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 ┆O O O ON N N N _ g_ e_ t_ s┆ 0x380…3a0 20 72 65 61 64 73 20 61 20 73 74 72 69 6e 67 20 69 6e 74 6f 20 5f 08 73 20 66 72 6f 6d 20 74 68 ┆ reads a string into _ s from th┆ 0x3a0…3c0 65 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 20 73 74 72 65 61 6d 0a 20 20 20 20 20 73 08 73 ┆e standard input stream s s┆ 0x3c0…3e0 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 6e 08 6e 08 6e 08 6e ┆ s st t t td d d di i i in n n n┆ 0x3e0…400 2e 08 2e 08 2e 08 2e 20 54 68 65 20 73 74 72 69 6e 67 20 69 73 20 74 65 72 6d 69 6e 61 74 65 64 ┆. . . . The string is terminated┆ 0x400…420 20 62 79 20 61 20 6e 65 77 6c 69 6e 65 20 63 68 61 72 61 63 74 65 72 2c 0a 20 20 20 20 20 77 68 ┆ by a newline character, wh┆ 0x420…440 69 63 68 20 69 73 20 72 65 70 6c 61 63 65 64 20 69 6e 20 5f 08 73 20 62 79 20 61 20 6e 75 6c 6c ┆ich is replaced in _ s by a null┆ 0x440…460 20 63 68 61 72 61 63 74 65 72 2e 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 72 65 74 75 72 6e ┆ character. _ g_ e_ t_ s return┆ 0x460…480 73 0a 20 20 20 20 20 69 74 73 20 61 72 67 75 6d 65 6e 74 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 ┆s its argument. _ f_ ┆ 0x480…4a0 67 5f 08 65 5f 08 74 5f 08 73 20 72 65 61 64 73 20 5f 08 6e 2d 31 20 63 68 61 72 61 63 74 65 72 ┆g_ e_ t_ s reads _ n-1 character┆ 0x4a0…4c0 73 2c 20 6f 72 20 75 70 20 74 6f 20 61 20 6e 65 77 6c 69 6e 65 20 63 68 61 72 61 63 74 65 72 2c ┆s, or up to a newline character,┆ 0x4c0…4e0 0a 20 20 20 20 20 77 68 69 63 68 65 76 65 72 20 63 6f 6d 65 73 20 66 69 72 73 74 2c 20 66 72 6f ┆ whichever comes first, fro┆ 0x4e0…500 6d 20 74 68 65 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 20 69 6e 74 6f 20 74 68 ┆m the _ s_ t_ r_ e_ a_ m into th┆ 0x500…520 65 20 73 74 72 69 6e 67 20 5f 08 73 2e 0a 20 20 20 20 20 54 68 65 20 6c 61 73 74 20 63 68 61 72 ┆e string _ s. The last char┆ 0x520…540 61 63 74 65 72 20 72 65 61 64 20 69 6e 74 6f 20 5f 08 73 20 69 73 20 66 6f 6c 6c 6f 77 65 64 20 ┆acter read into _ s is followed ┆ 0x540…560 62 79 20 61 20 6e 75 6c 6c 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 74 65 72 2e 20 20 5f 08 66 ┆by a null charac- ter. _ f┆ 0x560…580 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 72 65 74 75 72 6e 73 20 69 74 73 20 66 69 72 73 74 20 61 ┆_ g_ e_ t_ s returns its first a┆ 0x580…5a0 72 67 75 6d 65 6e 74 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 ┆rgument. S S S SE E E EE E E E ┆ 0x5a0…5c0 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 ┆A A A AL L L LS S S SO O O O ┆ 0x5c0…5e0 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 67 65 74 63 2c 20 ┆ Library Functions (3): getc, ┆ 0x5e0…600 66 65 72 72 6f 72 2c 20 66 72 65 61 64 2c 20 67 65 74 63 2c 20 70 75 74 73 2c 0a 20 20 20 20 20 ┆ferror, fread, getc, puts, ┆ 0x600…620 73 63 61 6e 66 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 ┆scanf D D D DI I I IA A A AG G ┆ 0x620…640 47 08 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 ┆G GN N N NO O O OS S S ST T T TI┆ 0x640…660 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 67 5f 08 65 ┆ I I IC C C CS S S S _ g_ e┆ 0x660…680 5f 08 74 5f 08 73 20 61 6e 64 20 5f 08 66 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 72 65 74 75 72 ┆_ t_ s and _ f_ g_ e_ t_ s retur┆ 0x680…6a0 6e 20 74 68 65 20 63 6f 6e 73 74 61 6e 74 20 70 6f 69 6e 74 65 72 20 4e 08 4e 08 4e 08 4e 55 08 ┆n the constant pointer N N N NU ┆ 0x6a0…6c0 55 08 55 08 55 4c 08 4c 08 4c 08 4c 4c 08 4c 08 4c 08 4c 20 75 70 6f 6e 20 65 6e 64 20 6f 66 0a ┆U U UL L L LL L L L upon end of ┆ 0x6c0…6e0 20 20 20 20 20 66 69 6c 65 20 6f 72 20 65 72 72 6f 72 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 ┆ file or error. L L L LI I ┆ 0x6e0…700 49 08 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 ┆I IM M M MI I I IT T T TA A A AT┆ 0x700…720 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 53 08 53 08 53 ┆ T T TI I I IO O O ON N N NS S S┆ 0x720…740 08 53 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 64 65 6c 65 74 65 73 20 61 20 6e ┆ S _ g_ e_ t_ s deletes a n┆ 0x740…760 65 77 6c 69 6e 65 2c 20 5f 08 66 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 6b 65 65 70 73 20 69 74 ┆ewline, _ f_ g_ e_ t_ s keeps it┆ 0x760…780 2c 20 61 6c 6c 20 69 6e 20 74 68 65 20 6e 61 6d 65 20 6f 66 0a 20 20 20 20 20 62 61 63 6b 77 61 ┆, all in the name of backwa┆ 0x780…7a0 72 64 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 ┆rd compatibility. March 1989 ┆ 0x7a0…7c0 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 20 50 72 ┆ TX Pr┆ 0x7c0…7e0 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ogrammer's Reference ┆ 0x7e0…7eb 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆