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

⟦b481a0599⟧

    Length: 1867 (0x74b)
    Names: »fsync.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat2/fsync.2« 

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 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 73 79 6e 63 28 32 29 0a 0a 0a 0a   ┆s                   fsync(2)    ┆
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 79 6e 63 20 2d 20 73 79 6e 63 68 72 6f 6e 69 7a 65 20 61 20 66 69 6c 65 27 73 20 69   ┆  fsync - synchronize a file's i┆
0x0a0…0c0 6e 2d 63 6f 72 65 20 73 74 61 74 65 20 77 69 74 68 20 64 69 73 6b 20 73 74 61 74 65 0a 0a 53 08   ┆n-core state with disk state  S ┆
0x0c0…0e0 53 08 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   ┆S S SY Y Y YN N N NT T T TA A A ┆
0x0e0…100 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08   ┆AX X X X      i i i in n n nt t ┆
0x100…120 74 08 74 20 66 08 66 08 66 08 66 73 08 73 08 73 08 73 79 08 79 08 79 08 79 6e 08 6e 08 6e 08 6e   ┆t t f f f fs s s sy y y yn n n n┆
0x120…140 63 08 63 08 63 08 63 28 08 28 08 28 08 28 66 08 66 08 66 08 66 64 08 64 08 64 08 64 29 08 29 08   ┆c c c c( ( ( (f f f fd d d d) ) ┆
0x140…160 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 66   ┆) )      i i i in n n nt t t t f┆
0x160…180 08 66 08 66 08 66 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45   ┆ f f fd d d d; ; ; ;  D D D DE E┆
0x180…1a0 08 45 08 45 53 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   ┆ E ES S S SC C C CR R R RI I I I┆
0x1a0…1c0 50 08 50 08 50 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   ┆P P P PT T T TI I I IO O O ON N ┆
0x1c0…1e0 4e 08 4e 0a 20 20 20 20 20 5f 08 66 5f 08 73 5f 08 79 5f 08 6e 5f 08 63 20 63 61 75 73 65 73 20   ┆N N      _ f_ s_ y_ n_ c causes ┆
0x1e0…200 61 6c 6c 20 6d 6f 64 69 66 69 65 64 20 64 61 74 61 20 61 6e 64 20 61 74 74 72 69 62 75 74 65 73   ┆all modified data and attributes┆
0x200…220 20 6f 66 20 5f 08 66 5f 08 64 20 74 6f 20 62 65 0a 20 20 20 20 20 6d 6f 76 65 64 20 74 6f 20 61   ┆ of _ f_ d to be      moved to a┆
0x220…240 20 70 65 72 6d 61 6e 65 6e 74 20 73 74 6f 72 61 67 65 20 64 65 76 69 63 65 2e 20 20 54 68 69 73   ┆ permanent storage device.  This┆
0x240…260 20 6e 6f 72 6d 61 6c 6c 79 20 72 65 73 75 6c 74 73 0a 20 20 20 20 20 69 6e 20 61 6c 6c 20 69 6e   ┆ normally results      in all in┆
0x260…280 2d 63 6f 72 65 20 6d 6f 64 69 66 69 65 64 20 63 6f 70 69 65 73 20 6f 66 20 62 75 66 66 65 72 73   ┆-core modified copies of buffers┆
0x280…2a0 20 66 6f 72 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 0a 20 20 20 20 20 66 69 6c 65 20 74 6f   ┆ for the associated      file to┆
0x2a0…2c0 20 62 65 20 77 72 69 74 74 65 6e 20 74 6f 20 61 20 64 69 73 6b 2e 0a 0a 52 08 52 08 52 08 52 45   ┆ be written to a disk.  R R R RE┆
0x2c0…2e0 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e   ┆ E E ET T T TU U U UR R R RN N N┆
0x2e0…300 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45   ┆ N V V V VA A A AL L L LU U U UE┆
0x300…320 08 45 08 45 08 45 0a 20 20 20 20 20 41 20 30 20 76 61 6c 75 65 20 69 73 20 72 65 74 75 72 6e 65   ┆ E E E      A 0 value is returne┆
0x320…340 64 20 6f 6e 20 73 75 63 63 65 73 73 2e 20 20 41 20 2d 31 20 76 61 6c 75 65 20 69 6e 64 69 63 61   ┆d on success.  A -1 value indica┆
0x340…360 74 65 73 20 61 6e 0a 20 20 20 20 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52   ┆tes an      error.  E E E ER R R┆
0x360…380 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 0a 20   ┆ RR R R RO O O OR R R RS S S S  ┆
0x380…3a0 20 20 20 20 54 68 65 20 5f 08 66 5f 08 73 5f 08 79 5f 08 6e 5f 08 63 20 66 61 69 6c 73 20 69 66   ┆    The _ f_ s_ y_ n_ c fails if┆
0x3a0…3c0 3a 0a 0a 20 20 20 20 20 5b 45 42 41 44 46 5d 20 20 20 20 20 20 20 20 5f 08 66 5f 08 64 20 69 73   ┆:       [EBADF]        _ f_ d is┆
0x3c0…3e0 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a 20 20 20 20 20 5b   ┆ not a valid descriptor.       [┆
0x3e0…400 45 49 4e 54 52 5d 20 20 20 20 20 20 20 20 54 68 65 20 5f 08 66 5f 08 73 5f 08 79 5f 08 6e 5f 08   ┆EINTR]        The _ f_ s_ y_ n_ ┆
0x400…420 63 28 29 20 66 75 6e 63 74 69 6f 6e 20 77 61 73 20 69 6e 74 65 72 72 75 70 74 65 64 20 62 79 20   ┆c() function was interrupted by ┆
0x420…440 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 6e 61 6c 2e 0a 0a 20   ┆a                     signal.   ┆
0x440…460 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 5f 08 66 5f 08 64 20 64 6f 65 73 20 6e   ┆    [EINVAL]       _ f_ d does n┆
0x460…480 6f 74 20 72 65 66 65 72 20 74 6f 20 61 20 66 69 6c 65 20 6f 6e 20 77 68 69 63 68 20 74 68 69 73   ┆ot refer to a file on which this┆
0x480…4a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 72 61 74 69 6f 6e 20 69   ┆                     operation i┆
0x4a0…4c0 73 20 70 6f 73 73 69 62 6c 65 20 6f 72 20 6d 65 61 6e 69 6e 67 66 75 6c 2e 0a 0a 20 20 20 20 20   ┆s possible or meaningful.       ┆
0x4c0…4e0 5b 45 49 4f 5d 20 20 20 20 20 20 20 20 20 20 49 2f 4f 20 65 72 72 6f 72 20 6f 63 63 75 72 72 65   ┆[EIO]          I/O error occurre┆
0x4e0…500 64 20 77 68 69 6c 65 20 74 72 79 69 6e 67 20 74 6f 20 77 72 69 74 65 0a 20 20 20 20 20 20 20 20   ┆d while trying to write         ┆
0x500…520 20 20 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 73 20 6f 75 74 2e 0a 0a 53 08 53 08 53 08 53   ┆            blocks out.  S S S S┆
0x520…540 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 4c 53 08 53   ┆E E E EE E E E A A A AL L L LS S┆
0x540…560 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 73 20 28 32   ┆ S SO O O O      System Calls (2┆
0x560…580 29 3a 20 73 79 6e 63 66 73 0a 0a 41 08 41 08 41 08 41 50 08 50 08 50 08 50 50 08 50 08 50 08 50   ┆): syncfs  A A A AP P P PP P P P┆
0x580…5a0 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49 43 08 43 08 43 08 43 41 08 41 08 41 08 41 54 08 54 08   ┆L L L LI I I IC C C CA A A AT T ┆
0x5a0…5c0 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 20 55 08 55 08 55 08 55   ┆T TI I I IO O O ON N N N U U U U┆
0x5c0…5e0 53 08 53 08 53 08 53 41 08 41 08 41 08 41 47 08 47 08 47 08 47 45 08 45 08 45 08 45 0a 20 20 20   ┆S S S SA A A AG G G GE E E E    ┆
0x5e0…600 20 20 5f 08 66 5f 08 73 5f 08 79 5f 08 6e 5f 08 63 20 73 68 6f 75 6c 64 20 62 65 20 75 73 65 64   ┆  _ f_ s_ y_ n_ c should be used┆
0x600…620 20 62 79 20 70 72 6f 67 72 61 6d 73 20 77 68 69 63 68 20 72 65 71 75 69 72 65 20 61 20 66 69 6c   ┆ by programs which require a fil┆
0x620…640 65 20 74 6f 20 62 65 0a 20 20 20 20 20 69 6e 20 61 20 6b 6e 6f 77 6e 20 73 74 61 74 65 3b 20 66   ┆e to be      in a known state; f┆
0x640…660 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 20 70 72 6f 67 72 61 6d 20 77 68 69 63 68 20 75 73 65 73   ┆or example, a program which uses┆
0x660…680 20 61 20 73 69 6d 70 6c 65 0a 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 66 61 63 69 6c   ┆ a simple      transaction facil┆
0x680…6a0 69 74 79 20 6d 69 67 68 74 20 75 73 65 20 69 74 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 20   ┆ity might use it to ensure that ┆
0x6a0…6c0 61 6c 6c 20 6d 6f 64 69 66 69 2d 0a 20 20 20 20 20 63 61 74 69 6f 6e 73 20 74 6f 20 61 20 66 69   ┆all modifi-      cations to a fi┆
0x6c0…6e0 6c 65 20 6f 72 20 66 69 6c 65 73 20 63 61 75 73 65 64 20 62 79 20 61 20 74 72 61 6e 73 61 63 74   ┆le or files caused by a transact┆
0x6e0…700 69 6f 6e 20 61 72 65 0a 20 20 20 20 20 72 65 63 6f 72 64 65 64 2e 0a 0a 44 65 63 65 6d 62 65 72   ┆ion are      recorded.  December┆
0x700…720 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 20 20 20 20 20 20 20   ┆ 1990                           ┆
0x720…740 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 0a 0a 0a 0a 0a 0a 0a   ┆TX Programmer's Reference       ┆
0x740…74b 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                                                  ┆           ┆