|
|
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: t
Length: 1923 (0x783)
Names: »ttyname.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/ttyname.3«
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 74 74 79 6e 61 6d 65 28 33 29 0a 0a 0a 0a ┆ions ttyname(3) ┆ 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 74 74 79 6e 61 6d 65 2c 20 69 73 61 74 74 79 20 2d 20 66 69 6e 64 20 6e 61 6d 65 20 6f 66 ┆ ttyname, isatty - find name of┆ 0x0a0…0c0 20 61 20 74 65 72 6d 69 6e 61 6c 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e ┆ a terminal S S S SY Y Y YN N N┆ 0x0c0…0e0 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 63 08 63 ┆ NT T T TA A A AX X X X c c┆ 0x0e0…100 08 63 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 ┆ c ch h h ha a a ar r r r * * * ┆ 0x100…120 2a 74 08 74 08 74 08 74 74 08 74 08 74 08 74 79 08 79 08 79 08 79 6e 08 6e 08 6e 08 6e 61 08 61 ┆*t t t tt t t ty y y yn n n na a┆ 0x120…140 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 28 08 28 08 28 08 28 66 08 66 08 66 08 66 ┆ a am m m me e e e( ( ( (f f f f┆ 0x140…160 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 65 08 65 08 65 08 65 73 08 73 08 ┆i i i il l l ld d d de e e es s ┆ 0x160…180 73 08 73 29 08 29 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 ┆s s) ) ) ) i i i in n n nt ┆ 0x180…1a0 74 08 74 08 74 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 64 08 64 08 64 ┆t t t f f f fi i i il l l ld d d┆ 0x1a0…1c0 08 64 65 08 65 08 65 08 65 73 08 73 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 ┆ de e e es s s s; ; ; ; i ┆ 0x1c0…1e0 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 69 08 69 08 69 08 69 73 08 73 08 73 ┆i i in n n nt t t t i i i is s s┆ 0x1e0…200 08 73 61 08 61 08 61 08 61 74 08 74 08 74 08 74 74 08 74 08 74 08 74 79 08 79 08 79 08 79 28 08 ┆ sa a a at t t tt t t ty y y y( ┆ 0x200…220 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 ┆( ( (f f f fi i i il l l ld d d ┆ 0x220…240 64 65 08 65 08 65 08 65 73 08 73 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 ┆de e e es s s s) ) ) ) i i ┆ 0x240…260 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 69 08 69 08 69 08 69 ┆i in n n nt t t t f f f fi i i i┆ 0x260…280 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 65 08 65 08 65 08 65 73 08 73 08 73 08 73 3b 08 3b 08 ┆l l l ld d d de e e es s s s; ; ┆ 0x280…2a0 3b 08 3b 0a 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 ┆; ; D D D DE E E ES S S SC C C ┆ 0x2a0…2c0 43 52 08 52 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 ┆CR R R RI I I IP P P PT T T TI I┆ 0x2c0…2e0 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 74 5f 08 74 5f 08 ┆ I IO O O ON N N N _ t_ t_ ┆ 0x2e0…300 79 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 ┆y_ n_ a_ m_ e returns a pointer ┆ 0x300…320 74 6f 20 74 68 65 20 6e 75 6c 6c 2d 74 65 72 6d 69 6e 61 74 65 64 20 70 61 74 68 20 6e 61 6d 65 ┆to the null-terminated path name┆ 0x320…340 0a 20 20 20 20 20 6f 66 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 64 65 76 69 63 65 20 61 73 73 ┆ of the terminal device ass┆ 0x340…360 6f 63 69 61 74 65 64 20 77 69 74 68 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 0a 20 20 20 ┆ociated with file descriptor ┆ 0x360…380 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 64 5f 08 65 5f 08 73 2e 0a 0a 20 20 20 20 20 5f 08 69 5f ┆ _ f_ i_ l_ d_ e_ s. _ i_┆ 0x380…3a0 08 73 5f 08 61 5f 08 74 5f 08 74 5f 08 79 20 74 65 73 74 73 20 77 68 65 74 68 65 72 20 5f 08 66 ┆ s_ a_ t_ t_ y tests whether _ f┆ 0x3a0…3c0 5f 08 69 5f 08 6c 5f 08 64 5f 08 65 5f 08 73 2c 20 61 6e 20 6f 70 65 6e 20 66 69 6c 65 20 64 65 ┆_ i_ l_ d_ e_ s, an open file de┆ 0x3c0…3e0 73 63 72 69 70 74 6f 72 2c 20 69 73 0a 20 20 20 20 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 ┆scriptor, is associated wit┆ 0x3e0…400 68 20 61 20 74 65 72 6d 69 6e 61 6c 20 64 65 76 69 63 65 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 ┆h a terminal device. R R R RE E┆ 0x400…420 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 08 4e ┆ E ET T T TU U U UR R R RN N N N┆ 0x420…440 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 08 45 ┆ V V V VA A A AL L L LU U U UE E┆ 0x440…460 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 66 75 6c 20 63 6f 6d 70 6c 65 74 ┆ E E Upon succesful complet┆ 0x460…480 69 6f 6e 2c 20 5f 08 74 5f 08 74 5f 08 79 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 72 65 74 75 72 ┆ion, _ t_ t_ y_ n_ a_ m_ e retur┆ 0x480…4a0 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 0a 20 20 20 20 20 73 74 72 69 6e 67 2e 20 4f ┆ns a pointer to a string. O┆ 0x4a0…4c0 74 68 65 72 77 69 73 65 2c 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 20 69 73 20 72 65 74 75 ┆therwise, a null pointer is retu┆ 0x4c0…4e0 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 0a 20 20 20 20 ┆rned and _ e_ r_ r_ n_ o is ┆ 0x4e0…500 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 20 20 20 ┆ set to indicate the error. ┆ 0x500…520 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e 2c 20 5f 08 ┆ Upon successful completion, _ ┆ 0x520…540 69 5f 08 73 5f 08 61 5f 08 74 5f 08 74 5f 08 79 20 72 65 74 75 72 6e 73 20 31 20 69 66 20 5f 08 ┆i_ s_ a_ t_ t_ y returns 1 if _ ┆ 0x540…560 66 5f 08 69 5f 08 6c 5f 08 64 5f 08 65 5f 08 73 20 69 73 0a 20 20 20 20 20 61 73 73 6f 63 69 61 ┆f_ i_ l_ d_ e_ s is associa┆ 0x560…580 74 65 64 20 77 69 74 68 20 61 20 74 65 72 6d 69 6e 61 6c 2c 20 6f 74 68 65 72 77 69 73 65 20 69 ┆ted with a terminal, otherwise i┆ 0x580…5a0 74 20 72 65 74 75 72 6e 73 20 7a 65 72 6f 20 61 6e 64 0a 20 20 20 20 20 73 65 74 73 20 5f 08 65 ┆t returns zero and sets _ e┆ 0x5a0…5c0 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 65 72 72 ┆_ r_ r_ n_ o to indicate the err┆ 0x5c0…5e0 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 08 4f 08 ┆or. E E E ER R R RR R R RO O O ┆ 0x5e0…600 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 73 65 20 66 75 6e 63 74 ┆OR R R RS S S S These funct┆ 0x600…620 69 6f 6e 73 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 3a 0a 0a 20 20 20 20 20 5b 45 42 41 44 46 5d ┆ions will fail if: [EBADF]┆ 0x620…640 20 20 20 20 20 20 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 64 5f 08 65 5f 08 73 20 69 73 20 6e 6f ┆ _ f_ i_ l_ d_ e_ s is no┆ 0x640…660 74 20 61 20 76 61 6c 69 64 20 6f 70 65 6e 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 2e 0a ┆t a valid open file descriptor. ┆ 0x660…680 0a 20 20 20 20 20 5b 45 4e 4f 54 54 59 5d 20 20 20 20 20 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 ┆ [ENOTTY] _ f_ i_ l_ ┆ 0x680…6a0 64 5f 08 65 5f 08 73 20 69 73 20 6e 6f 74 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 ┆d_ e_ s is not associated with a┆ 0x6a0…6c0 20 74 65 72 6d 69 6e 61 6c 2e 0a 0a 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 54 08 54 08 54 08 ┆ terminal. N N N NO O O OT T T ┆ 0x6c0…6e0 54 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 72 65 74 75 72 6e 20 ┆TE E E ES S S S The return ┆ 0x6e0…700 76 61 6c 75 65 20 70 6f 69 6e 74 73 20 74 6f 20 73 74 61 74 69 63 20 64 61 74 61 20 77 68 6f 73 ┆value points to static data whos┆ 0x700…720 65 20 63 6f 6e 74 65 6e 74 20 69 73 0a 20 20 20 20 20 6f 76 65 72 77 72 69 74 74 65 6e 20 62 79 ┆e content is overwritten by┆ 0x720…740 20 65 61 63 68 20 63 61 6c 6c 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 ┆ each call. December 1990 ┆ 0x740…760 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 6d 6d ┆ TX Programm┆ 0x760…780 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 0a 0a ┆er's Reference ┆ 0x780…783 0a 0a 0a ┆ ┆