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

⟦5daa315cc⟧

    Length: 2422 (0x976)
    Names: »fseek.3s«

Derivation

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

Default Hex Dump

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 73 65 65 6b 28 33 73 29 0a 0a 0a 0a   ┆ions               fseek(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 73 65 65 6b 2c 20 66 74 65 6c 6c 2c 20 72 65 77 69 6e 64 20 2d 20 72 65 70 6f 73 69 74   ┆  fseek, ftell, rewind - reposit┆
0x0a0…0c0 69 6f 6e 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   ┆ion a stream  S S S SY Y Y YN N ┆
0x0c0…0e0 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 20 20 23 08   ┆N NT T T TA A A AX X X X      # ┆
0x0e0…100 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 6c 08 6c 08   ┆# # #i i i in n n nc c c cl l l ┆
0x100…120 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 08 3c 73 08   ┆lu u u ud d d de e e e < < < <s ┆
0x120…140 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 6f 08 6f 08   ┆s s st t t td d d di i i io o o ┆
0x140…160 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 20 66 08 66   ┆o. . . .h h h h> > > >       f f┆
0x160…180 08 66 08 66 73 08 73 08 73 08 73 65 08 65 08 65 08 65 65 08 65 08 65 08 65 6b 08 6b 08 6b 08 6b   ┆ f fs s s se e e ee e e ek k k k┆
0x180…1a0 28 08 28 08 28 08 28 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   ┆( ( ( (s s s st t t tr r r re e ┆
0x1a0…1c0 65 08 65 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 2c 08 2c 08 2c 08 2c 20 6f 08 6f 08 6f 08 6f   ┆e ea a a am m m m, , , , o o o o┆
0x1c0…1e0 66 08 66 08 66 08 66 66 08 66 08 66 08 66 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08   ┆f f f ff f f fs s s se e e et t ┆
0x1e0…200 74 08 74 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08 72 08 72   ┆t t, , , , p p p pt t t tr r r r┆
0x200…220 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 29 08 29 08   ┆n n n na a a am m m me e e e) ) ┆
0x220…240 29 08 29 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 08   ┆) )      F F F FI I I IL L L LE ┆
0x240…260 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 72   ┆E E E * * * *s s s st t t tr r r┆
0x260…280 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 20   ┆ re e e ea a a am m m m; ; ; ;  ┆
0x280…2a0 20 20 20 20 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67   ┆    l l l lo o o on n n ng g g g┆
0x2a0…2c0 20 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 66 08 66 08 66 08 66 73 08 73 08 73 08 73 65 08 65   ┆ o o o of f f ff f f fs s s se e┆
0x2c0…2e0 08 65 08 65 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c   ┆ e et t t t; ; ; ;       l l l l┆
0x2e0…300 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 66 08 66 08 66 08 66 74 08 74   ┆o o o on n n ng g g g f f f ft t┆
0x300…320 08 74 08 74 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 28 08 28 08 28 08 28   ┆ t te e e el l l ll l l l( ( ( (┆
0x320…340 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 65 61 08 61 08   ┆s s s st t t tr r r re e e ea a ┆
0x340…360 61 08 61 6d 08 6d 08 6d 08 6d 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 46 08 46 49 08   ┆a am m m m) ) ) )      F F F FI ┆
0x360…380 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 73   ┆I I IL L L LE E E E * * * *s s s┆
0x380…3a0 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 ┆
0x3a0…3c0 6d 08 6d 08 6d 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 76 08 76 08 76 08 76 6f 08 6f 08 6f 08   ┆m m m; ; ; ;       v v v vo o o ┆
0x3c0…3e0 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 72 08 72 08 72 08 72 65 08 65 08 65 08 65 77 08   ┆oi i i id d d d r r r re e e ew ┆
0x3e0…400 77 08 77 08 77 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 28 08 28 08 28 08   ┆w w wi i i in n n nd d d d( ( ( ┆
0x400…420 28 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 65 61 08 61   ┆(s s s st t t tr r r re e e ea a┆
0x420…440 08 61 08 61 6d 08 6d 08 6d 08 6d 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 46 08 46 49   ┆ a am m m m) ) ) )      F F F FI┆
0x440…460 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 ┆
0x460…480 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┆
0x480…4a0 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┆
0x4a0…4c0 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┆
0x4c0…4e0 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    ┆
0x4e0…500 20 20 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f 08 6b 20 73 65 74 73 20 74 68 65 20 70 6f 73 69 74   ┆  _ f_ s_ e_ e_ k sets the posit┆
0x500…520 69 6f 6e 20 6f 66 20 74 68 65 20 6e 65 78 74 20 69 6e 70 75 74 20 6f 72 20 6f 75 74 70 75 74 20   ┆ion of the next input or output ┆
0x520…540 6f 70 65 72 61 2d 0a 20 20 20 20 20 74 69 6f 6e 20 6f 6e 20 74 68 65 20 5f 08 73 5f 08 74 5f 08   ┆opera-      tion on the _ s_ t_ ┆
0x540…560 72 5f 08 65 5f 08 61 5f 08 6d 2e 20 20 54 68 65 20 6e 65 77 20 70 6f 73 69 74 69 6f 6e 20 69 73   ┆r_ e_ a_ m.  The new position is┆
0x560…580 20 61 74 20 74 68 65 20 73 69 67 6e 65 64 20 64 69 73 2d 0a 20 20 20 20 20 74 61 6e 63 65 20 5f   ┆ at the signed dis-      tance _┆
0x580…5a0 08 6f 5f 08 66 5f 08 66 5f 08 73 5f 08 65 5f 08 74 20 62 79 74 65 73 20 66 72 6f 6d 20 74 68 65   ┆ o_ f_ f_ s_ e_ t bytes from the┆
0x5a0…5c0 20 62 65 67 69 6e 6e 69 6e 67 2c 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 6f 73 69 74 69 6f 6e   ┆ beginning, the current position┆
0x5c0…5e0 2c 0a 20 20 20 20 20 6f 72 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 66 69 6c 65 2c 20 61   ┆,      or the end of the file, a┆
0x5e0…600 63 63 6f 72 64 69 6e 67 20 61 73 20 5f 08 70 5f 08 74 5f 08 72 5f 08 6e 5f 08 61 5f 08 6d 5f 08   ┆ccording as _ p_ t_ r_ n_ a_ m_ ┆
0x600…620 65 20 68 61 73 20 74 68 65 20 76 61 6c 75 65 0a 20 20 20 20 20 30 2c 20 31 2c 20 6f 72 20 32 2e   ┆e has the value      0, 1, or 2.┆
0x620…640 0a 0a 20 20 20 20 20 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f 08 6b 20 75 6e 64 6f 65 73 20 61 6e   ┆       _ f_ s_ e_ e_ k undoes an┆
0x640…660 79 20 65 66 66 65 63 74 73 20 6f 66 20 5f 08 75 5f 08 6e 5f 08 67 5f 08 65 5f 08 74 5f 08 63 28   ┆y effects of _ u_ n_ g_ e_ t_ c(┆
0x660…680 33 29 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 74 5f 08 65 5f 08 6c 5f 08 6c 20 72 65 74 75 72 6e   ┆3).       _ f_ t_ e_ l_ l return┆
0x680…6a0 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6f 66 66 73 65   ┆s the current value of the offse┆
0x6a0…6c0 74 20 72 65 6c 61 74 69 76 65 20 74 6f 0a 20 20 20 20 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67   ┆t relative to      the beginning┆
0x6c0…6e0 20 6f 66 20 74 68 65 20 66 69 6c 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65   ┆ of the file associated with the┆
0x6e0…700 20 6e 61 6d 65 64 20 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2e 0a 20 20 20 20 20   ┆ named _ s_ t_ r_ e_ a_ m.      ┆
0x700…720 49 74 20 69 73 20 6d 65 61 73 75 72 65 64 20 69 6e 20 62 79 74 65 73 20 6f 6e 20 55 4e 49 58 20   ┆It is measured in bytes on UNIX ┆
0x720…740 73 79 73 74 65 6d 73 3b 20 6f 6e 20 73 6f 6d 65 20 6f 74 68 65 72 20 73 79 73 2d 0a 20 20 20 20   ┆systems; on some other sys-     ┆
0x740…760 20 74 65 6d 73 20 69 74 20 69 73 20 61 20 6d 61 67 69 63 20 63 6f 6f 6b 69 65 2c 20 61 6e 64 20   ┆ tems it is a magic cookie, and ┆
0x760…780 74 68 65 20 6f 6e 6c 79 20 66 6f 6f 6c 70 72 6f 6f 66 20 77 61 79 20 74 6f 0a 20 20 20 20 20 6f   ┆the only foolproof way to      o┆
0x780…7a0 62 74 61 69 6e 20 61 6e 20 5f 08 6f 5f 08 66 5f 08 66 5f 08 73 5f 08 65 5f 08 74 20 66 6f 72 20   ┆btain an _ o_ f_ f_ s_ e_ t for ┆
0x7a0…7c0 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f 08 6b 2e 0a 0a 20 20 20 20 20 5f 08 52 5f 08 65 5f 08 77   ┆_ f_ s_ e_ e_ k.       _ R_ e_ w┆
0x7c0…7e0 5f 08 69 5f 08 6e 5f 08 64 28 5f 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 29 20 69 73   ┆_ i_ n_ d(_ s_ t_ r_ e_ a_ m) is┆
0x7e0…800 20 65 71 75 69 76 61 6c 65 6e 74 20 74 6f 20 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f 08 6b 28 5f   ┆ equivalent to _ f_ s_ e_ e_ k(_┆
0x800…820 08 73 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 6d 2c 20 5f 08 30 5f 08 4c 2c 20 5f 08 30 29 2e   ┆ s_ t_ r_ e_ a_ m, _ 0_ L, _ 0).┆
0x820…840 0a 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   ┆  S S S SE E E EE E E E A A A AL┆
0x840…860 08 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   ┆ L L LS S S SO O O O      System┆
0x860…880 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 6c 73 65 65 6b 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20   ┆ Calls (2):  lseek      Library ┆
0x880…8a0 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 66 6f 70 65 6e 2c 20 75 6e 67 65 74 63 0a 0a 44   ┆Functions (3):  fopen, ungetc  D┆
0x8a0…8c0 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 47 4e 08 4e 08 4e   ┆ D D DI I I IA A A AG G G GN N N┆
0x8c0…8e0 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 08 49 08 49 43 08   ┆ NO O O OS S S ST T T TI I I IC ┆
0x8e0…900 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 66 5f 08 73 5f 08 65 5f 08 65 5f 08   ┆C C CS S S S      _ f_ s_ e_ e_ ┆
0x900…920 6b 20 72 65 74 75 72 6e 73 20 2d 31 20 66 6f 72 20 69 6d 70 72 6f 70 65 72 20 73 65 65 6b 73 2e   ┆k returns -1 for improper seeks.┆
0x920…940 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆  December 1989                 ┆
0x940…960 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 65   ┆          TX Programmer's Refere┆
0x960…976 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                 ┆nce                   ┆