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: a

⟦2579809f0⟧

    Length: 3143 (0xc47)
    Names: »attach.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/attach.2« 
        └─⟦this⟧ »./usr/man/cat2/attach.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 61 74 74 61 63 68 28 32 29 0a 0a 0a 0a   ┆s                  attach(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 61 74 74 61 63 68 20 2d 20 60 60 71 75 69 63 6b 2d 6f 70 65 6e 27 27 20 6f 66 20 54 58 20   ┆  attach - ``quick-open'' of TX ┆
0x0a0…0c0 49 50 43 20 64 65 73 63 72 69 70 74 6f 72 3b 20 75 73 65 64 20 77 69 74 68 0a 20 20 20 20 20 5f   ┆IPC descriptor; used with      _┆
0x0c0…0e0 08 64 5f 08 65 5f 08 74 5f 08 61 5f 08 63 5f 08 68 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08   ┆ d_ e_ t_ a_ c_ h  S S S SY Y Y ┆
0x0e0…100 59 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   ┆YN N N NT T T TA A A AX X X X   ┆
0x100…120 20 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   ┆   # # # #i i i in n n nc c c cl┆
0x120…140 08 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   ┆ l l lu u u ud d d de e e e < < ┆
0x140…160 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73   ┆< <s s s sy y y ys s s s/ / / /s┆
0x160…180 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e   ┆ s s st t t ta a a at t t t. . .┆
0x180…1a0 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69   ┆ .h h h h> > > >      # # # #i i┆
0x1a0…1c0 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 75   ┆ i in n n nc c c cl l l lu u u u┆
0x1c0…1e0 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 79 08 79   ┆d d d de e e e < < < <s s s sy y┆
0x1e0…200 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 66 08 66 08 66 08 66 69 08 69 08 69 08 69   ┆ y ys s s s/ / / /f f f fi i i i┆
0x200…220 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08   ┆l l l le e e e. . . .h h h h> > ┆
0x220…240 3e 08 3e 0a 0a 20 20 20 20 20 61 08 61 08 61 08 61 74 08 74 08 74 08 74 74 08 74 08 74 08 74 61   ┆> >       a a a at t t tt t t ta┆
0x240…260 08 61 08 61 08 61 63 08 63 08 63 08 63 68 08 68 08 68 08 68 28 08 28 08 28 08 28 66 08 66 08 66   ┆ a a ac c c ch h h h( ( ( (f f f┆
0x260…280 08 66 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61   ┆ fd d d d, , , , f f f fl l l la┆
0x280…2a0 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 20   ┆ a a ag g g gs s s s) ) ) )     ┆
0x2a0…2c0 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 66 08 66 08 66 08 66 64 08   ┆ i i i in n n nt t t t f f f fd ┆
0x2c0…2e0 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61   ┆d d d, , , , f f f fl l l la a a┆
0x2e0…300 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 64 08   ┆ ag g g gs s s s; ; ; ;       d ┆
0x300…320 64 08 64 08 64 65 08 65 08 65 08 65 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63 08 63 08   ┆d d de e e et t t ta a a ac c c ┆
0x320…340 63 68 08 68 08 68 08 68 28 08 28 08 28 08 28 66 08 66 08 66 08 66 64 08 64 08 64 08 64 29 08 29   ┆ch h h h( ( ( (f f f fd d d d) )┆
0x340…360 08 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   ┆ ) )      i i i in n n nt t t t ┆
0x360…380 66 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   ┆f f f fd d d d; ; ; ;  D D D DE ┆
0x380…3a0 45 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   ┆E E ES S S SC C C CR R R RI I I ┆
0x3a0…3c0 49 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   ┆IP P P PT T T TI I I IO O O ON N┆
0x3c0…3e0 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 61 5f 08 74 5f 08 74 5f 08 61 5f 08 63 5f 08 68   ┆ N N      The _ a_ t_ t_ a_ c_ h┆
0x3e0…400 20 63 61 6c 6c 20 75 73 65 73 20 5f 08 66 5f 08 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 72 65   ┆ call uses _ f_ d information re┆
0x400…420 74 61 69 6e 65 64 20 62 79 20 61 20 70 72 65 76 69 6f 75 73 0a 20 20 20 20 20 5f 08 64 5f 08 65   ┆tained by a previous      _ d_ e┆
0x420…440 5f 08 74 5f 08 61 5f 08 63 5f 08 68 20 6f 72 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 28 4f 5f   ┆_ t_ a_ c_ h or _ o_ p_ e_ n (O_┆
0x440…460 44 45 54 41 43 48 29 20 63 61 6c 6c 20 74 6f 20 61 76 6f 69 64 20 74 68 65 20 66 69 6c 65 20 6c   ┆DETACH) call to avoid the file l┆
0x460…480 6f 6f 6b 2d 75 70 0a 20 20 20 20 20 6f 70 65 72 61 74 69 6f 6e 2e 20 20 54 68 69 73 20 63 61 6c   ┆ook-up      operation.  This cal┆
0x480…4a0 6c 20 63 6f 6d 70 6c 65 74 65 73 20 74 68 65 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 28 74 68   ┆l completes the _ o_ p_ e_ n (th┆
0x4a0…4c0 61 74 20 69 73 2c 20 6d 61 74 63 68 29 20 6f 66 0a 20 20 20 20 20 74 68 65 20 6e 61 6d 65 64 20   ┆at is, match) of      the named ┆
0x4c0…4e0 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 64 08   ┆file descriptor.       f f f fd ┆
0x4e0…500 64 08 64 08 64 20 20 20 53 70 65 63 69 66 69 65 73 20 61 6e 20 6f 70 65 6e 20 62 75 74 20 64 65   ┆d d d   Specifies an open but de┆
0x500…520 74 61 63 68 65 64 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a 20 20 20 20 20 66 08   ┆tached file descriptor.       f ┆
0x520…540 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 73 08 73 08 73 08   ┆f f fl l l la a a ag g g gs s s ┆
0x540…560 73 0a 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 66 69 6c 65 20 63 68 61 72 61   ┆s           Specifies file chara┆
0x560…580 63 74 65 72 69 73 74 69 63 73 20 61 6e 64 20 6f 70 65 6e 20 6f 70 74 69 6f 6e 73 2e 20 20 54 68   ┆cteristics and open options.  Th┆
0x580…5a0 65 0a 20 20 20 20 20 20 20 20 20 20 66 6c 61 67 73 20 61 72 65 20 66 6f 72 6d 65 64 20 62 79 20   ┆e           flags are formed by ┆
0x5a0…5c0 5f 08 6f 5f 08 72 27 69 6e 67 20 74 68 65 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 73 65 6c   ┆_ o_ r'ing the values of the sel┆
0x5c0…5e0 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 75 73 65 72 2d 64 65 66 69 6e 69 74 69 6f 6e 73   ┆ected           user-definitions┆
0x5e0…600 20 66 72 6f 6d 20 3c 73 79 73 2f 66 69 6c 65 2e 68 3e 2e 20 20 54 68 65 20 76 61 6c 69 64 20 64   ┆ from <sys/file.h>.  The valid d┆
0x600…620 65 66 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 73 20 61 6e 64 20 6d 65 61 6e 69 6e   ┆efine           names and meanin┆
0x620…640 67 73 20 61 72 65 20 6c 69 73 74 65 64 20 62 65 6c 6f 77 2e 20 20 28 4e 6f 74 65 20 74 68 61 74   ┆gs are listed below.  (Note that┆
0x640…660 0a 20 20 20 20 20 20 20 20 20 20 4f 5f 46 4f 52 43 45 4f 50 45 4e 20 61 6e 64 20 4f 5f 4e 44 45   ┆           O_FORCEOPEN and O_NDE┆
0x660…680 4c 41 59 20 61 72 65 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 2e 29 0a 0a 20 20 20 20 20 20 20   ┆LAY are not supported.)         ┆
0x680…6a0 20 20 20 20 4f 5f 52 44 4f 4e 4c 59 20 20 20 20 20 20 6f 70 65 6e 20 66 6f 72 20 72 65 61 64 69   ┆    O_RDONLY      open for readi┆
0x6a0…6c0 6e 67 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 20 20 20 4f 5f 57 52 4f 4e 4c 59 20 20 20 20 20   ┆ng only            O_WRONLY     ┆
0x6c0…6e0 20 6f 70 65 6e 20 66 6f 72 20 77 72 69 74 69 6e 67 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 20   ┆ open for writing only          ┆
0x6e0…700 20 20 4f 5f 52 44 57 52 20 20 20 20 20 20 20 20 6f 70 65 6e 20 66 6f 72 20 72 65 61 64 69 6e 67   ┆  O_RDWR        open for reading┆
0x700…720 20 61 6e 64 20 77 72 69 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 4f 5f 43 4f 4e 54 52 4f   ┆ and writing            O_CONTRO┆
0x720…740 4c 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 20 66 69 6c 65 20 49 2f 4f 20 28 62 79 20   ┆L          control file I/O (by ┆
0x740…760 61 6e 79 20 70 72 6f 63 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 71 75 69 72 65 64   ┆any process);           required┆
0x760…780 20 66 6f 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20   ┆ for transaction mode           ┆
0x780…7a0 20 4f 5f 4d 45 53 53 41 47 45 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 20 77 69 74 68 20 6d 65   ┆ O_MESSAGE          open with me┆
0x7a0…7c0 73 73 61 67 65 20 28 6e 6f 6e 73 74 72 65 61 6d 29 20 49 50 43 0a 20 20 20 20 20 20 20 20 20 20   ┆ssage (nonstream) IPC           ┆
0x7c0…7e0 73 65 72 76 69 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 4f 5f 50 45 45 52 20 20 20 20 20 20 20   ┆service            O_PEER       ┆
0x7e0…800 20 6f 70 65 6e 20 61 73 20 61 20 70 65 65 72 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 20 20 20   ┆ open as a peer process         ┆
0x800…820 20 20 20 4f 5f 43 4c 49 45 4e 54 20 20 20 20 20 20 6f 70 65 6e 20 61 73 20 61 20 63 6c 69 65 6e   ┆   O_CLIENT      open as a clien┆
0x820…840 74 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 4f 5f 53 45 52 56 45 52 20 20 20   ┆t process            O_SERVER   ┆
0x840…860 20 20 20 6f 70 65 6e 20 61 73 20 61 20 73 65 72 76 65 72 20 70 72 6f 63 65 73 73 0a 0a 20 20 20   ┆   open as a server process     ┆
0x860…880 20 20 54 68 69 73 20 63 61 6c 6c 20 69 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 73   ┆  This call is automatically res┆
0x880…8a0 74 61 72 74 65 64 20 69 66 20 69 6e 74 65 72 72 75 70 74 65 64 20 62 79 20 73 69 67 2d 0a 20 20   ┆tarted if interrupted by sig-   ┆
0x8a0…8c0 20 20 20 6e 61 6c 20 64 65 6c 69 76 65 72 79 2e 0a 0a 20 20 20 20 20 52 65 66 65 72 20 74 6f 20   ┆   nal delivery.       Refer to ┆
0x8c0…8e0 74 68 65 20 5f 08 64 5f 08 65 5f 08 74 5f 08 61 5f 08 63 5f 08 68 20 63 61 6c 6c 20 64 65 73 63   ┆the _ d_ e_ t_ a_ c_ h call desc┆
0x8e0…900 72 69 70 74 69 6f 6e 20 66 6f 72 20 65 78 61 6d 70 6c 65 73 20 6f 66 20 63 61 6c 6c 69 6e 67 0a   ┆ription for examples of calling ┆
0x900…920 20 20 20 20 20 73 65 71 75 65 6e 63 65 73 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54   ┆     sequences.  R R R RE E E ET┆
0x920…940 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 08 4e 20 56 08 56 08   ┆ T T TU U U UR R R RN N N N V V ┆
0x940…960 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 08 45 08 45 08 45 0a   ┆V VA A A AL L L LU U U UE E E E ┆
0x960…980 20 20 20 20 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 66 20 61 6e 20 65 72 72 6f 72 20   ┆     -1 is returned if an error ┆
0x980…9a0 6f 63 63 75 72 73 2e 20 20 54 68 65 20 65 78 74 65 72 6e 61 6c 20 76 61 72 69 61 62 6c 65 0a 20   ┆occurs.  The external variable  ┆
0x9a0…9c0 20 20 20 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 6e 64 69 63 61 74 65 73 20 74 68   ┆    _ e_ r_ r_ n_ o indicates th┆
0x9c0…9e0 65 20 63 61 75 73 65 20 6f 66 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08   ┆e cause of the error.  E E E ER ┆
0x9e0…a00 52 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   ┆R R RR R R RO O O OR R R RS S S ┆
0xa00…a20 53 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 20   ┆S      [EBADF]        _ f_ d is ┆
0xa20…a40 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 45   ┆not a valid descriptor.       [E┆
0xa40…a60 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 54 68 65 20 64 65 73 63 72 69 70 74 6f 72 20 77 61 73 20   ┆INVAL]       The descriptor was ┆
0xa60…a80 6e 6f 74 20 70 72 65 76 69 6f 75 73 6c 79 20 5f 08 64 5f 08 65 5f 08 74 5f 08 61 5f 08 63 5f 08   ┆not previously _ d_ e_ t_ a_ c_ ┆
0xa80…aa0 68 65 64 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 6f 5f 08   ┆hed or                     _ o_ ┆
0xaa0…ac0 70 5f 08 65 5f 08 6e 65 64 20 28 77 69 74 68 20 4f 5f 44 45 54 41 43 48 29 2e 0a 0a 20 20 20 20   ┆p_ e_ ned (with O_DETACH).      ┆
0xac0…ae0 20 5b 45 4e 4f 45 4e 54 5d 20 20 20 20 20 20 20 54 68 65 20 73 61 6d 65 20 69 2d 6e 6f 64 65 20   ┆ [ENOENT]       The same i-node ┆
0xae0…b00 63 61 6e 6e 6f 74 20 62 65 20 66 6f 75 6e 64 20 61 67 61 69 6e 20 28 66 6f 72 0a 20 20 20 20 20   ┆cannot be found again (for      ┆
0xb00…b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 50 55 20 74 61   ┆               example, if PU ta┆
0xb20…b40 6b 65 6f 76 65 72 20 6f 63 63 75 72 72 65 64 29 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5b 45   ┆keover occurred).             [E┆
0xb40…b60 4f 50 4e 4f 54 53 55 50 50 5d 20 20 20 54 68 65 20 66 69 6c 65 20 74 79 70 65 20 64 6f 65 73 20   ┆OPNOTSUPP]   The file type does ┆
0xb60…b80 6e 6f 74 20 61 6c 6c 6f 77 20 74 68 69 73 20 63 61 6c 6c 2e 0a 0a 53 08 53 08 53 08 53 45 08 45   ┆not allow this call.  S S S SE E┆
0xb80…ba0 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 08 53 08   ┆ E EE E E E A A A AL L L LS S S ┆
0xba0…bc0 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 29 3a 20   ┆SO O O O      System Calls (2): ┆
0xbc0…be0 20 64 65 74 61 63 68 2c 20 6f 70 65 6e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20   ┆ detach, open  March 1989       ┆
0xbe0…c00 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 6f 67 72 61   ┆                       TX Progra┆
0xc00…c20 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 0a 0a 0a 0a   ┆mmer's Reference                ┆
0xc20…c40 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆                                ┆
0xc40…c47 0a 0a 0a 0a 0a 0a 0a                                                                              ┆       ┆