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

⟦059f3b8d5⟧

    Length: 2346 (0x92a)
    Names: »ioctl.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/ioctl.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 69 6f 63 74 6c 28 32 29 0a 0a 0a 0a   ┆s                   ioctl(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 69 6f 63 74 6c 20 2d 20 63 6f 6e 74 72 6f 6c 20 61 20 64 65 76 69 63 65 0a 0a 53 08 53 08   ┆  ioctl - control a device  S S ┆
0x0a0…0c0 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 41 58   ┆S SY Y Y YN N N NT T T TA A A AX┆
0x0c0…0e0 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08   ┆ X X X      # # # #i i i in n n ┆
0x0e0…100 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65   ┆nc c c cl l l lu u u ud d d de e┆
0x100…120 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08   ┆ e e < < < <s s s sy y y ys s s ┆
0x120…140 73 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 74 08 74   ┆s/ / / /i i i io o o oc c c ct t┆
0x140…160 08 74 08 74 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e   ┆ t tl l l l. . . .h h h h> > > >┆
0x160…180 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 74 08 74 08   ┆       i i i io o o oc c c ct t ┆
0x180…1a0 74 08 74 6c 08 6c 08 6c 08 6c 28 08 28 08 28 08 28 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20   ┆t tl l l l( ( ( (d d d d, , , , ┆
0x1a0…1c0 72 08 72 08 72 08 72 65 08 65 08 65 08 65 71 08 71 08 71 08 71 75 08 75 08 75 08 75 65 08 65 08   ┆r r r re e e eq q q qu u u ue e ┆
0x1c0…1e0 65 08 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 61 08 61 08 61 08 61   ┆e es s s st t t t, , , , a a a a┆
0x1e0…200 72 08 72 08 72 08 72 67 08 67 08 67 08 67 70 08 70 08 70 08 70 29 08 29 08 29 08 29 0a 20 20 20   ┆r r r rg g g gp p p p) ) ) )    ┆
0x200…220 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 64 08 64 08 64 08 64 2c   ┆  i i i in n n nt t t t d d d d,┆
0x220…240 08 2c 08 2c 08 2c 20 72 08 72 08 72 08 72 65 08 65 08 65 08 65 71 08 71 08 71 08 71 75 08 75 08   ┆ , , , r r r re e e eq q q qu u ┆
0x240…260 75 08 75 65 08 65 08 65 08 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a   ┆u ue e e es s s st t t t; ; ; ; ┆
0x260…280 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08   ┆     c c c ch h h ha a a ar r r ┆
0x280…2a0 72 20 2a 08 2a 08 2a 08 2a 61 08 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 70 08   ┆r * * * *a a a ar r r rg g g gp ┆
0x2a0…2c0 70 08 70 08 70 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 08   ┆p p p; ; ; ;  D D D DE E E ES S ┆
0x2c0…2e0 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 54   ┆S SC C C CR R R RI I I IP P P PT┆
0x2e0…300 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 20   ┆ T T TI I I IO O O ON N N N     ┆
0x300…320 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 20 70 65 72 66 6f 72 6d 73 20 61 20 76 61 72 69   ┆ _ i_ o_ c_ t_ l performs a vari┆
0x320…340 65 74 79 20 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 6f 6e 20 6f 70 65 6e 20 64 65 73 63 72 69 70   ┆ety of functions on open descrip┆
0x340…360 74 6f 72 73 2e 0a 20 20 20 20 20 49 6e 20 70 61 72 74 69 63 75 6c 61 72 2c 20 6d 61 6e 79 20 6f   ┆tors.      In particular, many o┆
0x360…380 70 65 72 61 74 69 6e 67 20 63 68 61 72 61 63 74 65 72 69 73 74 69 63 73 20 6f 66 20 73 70 65 63   ┆perating characteristics of spec┆
0x380…3a0 69 61 6c 0a 20 20 20 20 20 66 69 6c 65 73 20 28 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 74 65 72   ┆ial      files (for example, ter┆
0x3a0…3c0 6d 69 6e 61 6c 73 29 20 6d 61 79 20 62 65 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 77 69 74 68 20 5f   ┆minals) may be controlled with _┆
0x3c0…3e0 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 0a 20 20 20 20 20 72 65 71 75 65 73 74 73 2e 20 20 54   ┆ i_ o_ c_ t_ l      requests.  T┆
0x3e0…400 68 65 20 64 65 76 69 63 65 20 64 65 73 63 72 69 70 74 69 6f 6e 73 20 69 6e 20 74 68 65 20 73 79   ┆he device descriptions in the sy┆
0x400…420 73 74 65 6d 2d 66 61 63 69 6c 69 74 69 65 73 0a 20 20 20 20 20 28 34 29 20 73 65 63 74 69 6f 6e   ┆stem-facilities      (4) section┆
0x420…440 20 67 69 76 65 20 73 70 65 63 69 66 69 63 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 20 69   ┆ give specific _ i_ o_ c_ t_ l i┆
0x440…460 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 41 6e 20 5f 08 69 5f 08 6f 5f 08 63 5f 08   ┆nformation.       An _ i_ o_ c_ ┆
0x460…480 74 5f 08 6c 20 5f 08 72 5f 08 65 5f 08 71 5f 08 75 5f 08 65 5f 08 73 5f 08 74 20 68 61 73 20 65   ┆t_ l _ r_ e_ q_ u_ e_ s_ t has e┆
0x480…4a0 6e 63 6f 64 65 64 20 69 6e 20 69 74 20 77 68 65 74 68 65 72 20 74 68 65 20 61 72 67 75 6d 65 6e   ┆ncoded in it whether the argumen┆
0x4a0…4c0 74 20 69 73 0a 20 20 20 20 20 61 6e 20 22 69 6e 22 20 70 61 72 61 6d 65 74 65 72 20 6f 72 20 22   ┆t is      an "in" parameter or "┆
0x4c0…4e0 6f 75 74 22 20 70 61 72 61 6d 65 74 65 72 2c 20 61 6e 64 20 74 68 65 20 73 69 7a 65 20 6f 66 20   ┆out" parameter, and the size of ┆
0x4e0…500 74 68 65 0a 20 20 20 20 20 61 72 67 75 6d 65 6e 74 20 5f 08 61 5f 08 72 5f 08 67 5f 08 70 20 69   ┆the      argument _ a_ r_ g_ p i┆
0x500…520 6e 20 62 79 74 65 73 2e 20 20 4d 61 63 72 6f 73 20 61 6e 64 20 64 65 66 69 6e 65 73 20 75 73 65   ┆n bytes.  Macros and defines use┆
0x520…540 64 20 69 6e 20 73 70 65 63 69 66 79 2d 0a 20 20 20 20 20 69 6e 67 20 61 6e 20 5f 08 69 5f 08 6f   ┆d in specify-      ing an _ i_ o┆
0x540…560 5f 08 63 5f 08 74 5f 08 6c 20 5f 08 72 5f 08 65 5f 08 71 5f 08 75 5f 08 65 5f 08 73 5f 08 74 20   ┆_ c_ t_ l _ r_ e_ q_ u_ e_ s_ t ┆
0x560…580 61 72 65 20 6c 6f 63 61 74 65 64 20 69 6e 20 74 68 65 20 66 69 6c 65 20 3c 73 79 73 2f 69 6f 63   ┆are located in the file <sys/ioc┆
0x580…5a0 74 6c 2e 68 3e 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55   ┆tl.h>.  R R R RE E E ET T T TU U┆
0x5a0…5c0 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 08 41 08   ┆ U UR R R RN N N N V V V VA A A ┆
0x5c0…5e0 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 49 66 20 61   ┆AL L L LU U U UE E E E      If a┆
0x5e0…600 6e 20 65 72 72 6f 72 20 68 61 73 20 6f 63 63 75 72 72 65 64 2c 20 61 20 76 61 6c 75 65 20 6f 66   ┆n error has occurred, a value of┆
0x600…620 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 6e 64 0a 20 20 20 20 20 5f 08 65 5f 08 72 5f   ┆ -1 is returned and      _ e_ r_┆
0x620…640 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 65 20   ┆ r_ n_ o is set to indicate the ┆
0x640…660 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f   ┆error.  E E E ER R R RR R R RO O┆
0x660…680 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 69 5f 08 6f 5f 08   ┆ O OR R R RS S S S      _ i_ o_ ┆
0x680…6a0 63 5f 08 74 5f 08 6c 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65   ┆c_ t_ l will fail if one or more┆
0x6a0…6c0 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 72 65 20 74 72 75 65 3a 0a 0a 20 20 20   ┆ of the following are true:     ┆
0x6c0…6e0 20 20 5b 45 42 41 44 46 5d 20 20 20 20 20 20 20 20 5f 08 64 20 69 73 20 6e 6f 74 20 61 20 76 61   ┆  [EBADF]        _ d is not a va┆
0x6e0…700 6c 69 64 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a 20 20 20 20 20 5b 45 48 4f 53 54 4d 4f 44 45   ┆lid descriptor.       [EHOSTMODE┆
0x700…720 5d 20 20 20 20 54 68 65 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 69 6e 20 68 6f 73 74 20 6d 6f 64   ┆]    The terminal is in host mod┆
0x720…740 65 2e 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 5f 08 52 5f 08 65 5f 08   ┆e.       [EINVAL]       _ R_ e_ ┆
0x740…760 71 5f 08 75 5f 08 65 5f 08 73 5f 08 74 20 6f 72 20 5f 08 61 5f 08 72 5f 08 67 5f 08 70 20 69 73   ┆q_ u_ e_ s_ t or _ a_ r_ g_ p is┆
0x760…780 20 6e 6f 74 20 76 61 6c 69 64 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 54 54 59 5d 20 20 20 20 20 20   ┆ not valid.       [ENOTTY]      ┆
0x780…7a0 20 45 69 74 68 65 72 20 5f 08 64 20 69 73 20 6e 6f 74 20 61 73 73 6f 63 69 61 74 65 64 20 77 69   ┆ Either _ d is not associated wi┆
0x7a0…7c0 74 68 20 61 20 72 61 77 20 64 65 76 69 63 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆th a raw device,                ┆
0x7c0…7e0 20 20 20 20 20 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 72 65 71 75 65 73 74 20 64 6f   ┆     or the specified request do┆
0x7e0…800 65 73 20 6e 6f 74 20 61 70 70 6c 79 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆es not apply to                 ┆
0x800…820 20 20 20 20 74 68 65 20 6b 69 6e 64 20 6f 66 20 6f 62 6a 65 63 74 20 72 65 66 65 72 65 6e 63 65   ┆    the kind of object reference┆
0x820…840 64 20 62 79 20 64 65 73 63 72 69 70 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆d by descriptor                 ┆
0x840…860 20 20 20 20 5f 08 64 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   ┆    _ d.  S S S SE E E EE E E E ┆
0x860…880 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    ┆
0x880…8a0 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 65 78 65 63 76 65 2c 20 66 63 6e   ┆  System Calls (2):  execve, fcn┆
0x8a0…8c0 74 6c 0a 20 20 20 20 20 53 79 73 74 65 6d 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 20   ┆tl      System Facilities (4):  ┆
0x8c0…8e0 6d 74 2c 20 74 65 72 6d 69 6f 2c 20 6d 78 69 70 63 2c 20 74 78 69 70 63 0a 0a 4d 61 72 63 68 20   ┆mt, termio, mxipc, txipc  March ┆
0x8e0…900 31 39 38 39 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 20   ┆1989                            ┆
0x900…920 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 0a 0a 0a 0a 0a   ┆  TX Programmer's Reference     ┆
0x920…92a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                                                     ┆          ┆