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

⟦5f0a479e8⟧

    Length: 1603 (0x643)
    Names: »cuserid.3«

Derivation

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

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 63 75 73 65 72 69 64 28 33 29 0a 0a 0a 0a   ┆ions              cuserid(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 63 75 73 65 72 69 64 20 2d 20 67 65 74 20 63 68 61 72 61 63 74 65 72 20 6c 6f 67 69 6e 20   ┆  cuserid - get character login ┆
0x0a0…0c0 6e 61 6d 65 20 6f 66 20 74 68 65 20 75 73 65 72 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59   ┆name of the user  S S S SY Y Y Y┆
0x0c0…0e0 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 20   ┆N N N NT T T TA A A AX X X X    ┆
0x0e0…100 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 08   ┆  # # # #i i i in n n nc c c cl ┆
0x100…120 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 3c   ┆l l lu u u ud d d de e e e < < <┆
0x120…140 08 3c 73 08 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   ┆ <s s s st t t td d d di i i io ┆
0x140…160 6f 08 6f 08 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   ┆o o o. . . .h h h h> > > >      ┆
0x160…180 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 72 20 2a 08   ┆ c c c ch h h ha a a ar r r r * ┆
0x180…1a0 2a 08 2a 08 2a 63 08 63 08 63 08 63 75 08 75 08 75 08 75 73 08 73 08 73 08 73 65 08 65 08 65 08   ┆* * *c c c cu u u us s s se e e ┆
0x1a0…1c0 65 72 08 72 08 72 08 72 69 08 69 08 69 08 69 64 08 64 08 64 08 64 28 08 28 08 28 08 28 73 08 73   ┆er r r ri i i id d d d( ( ( (s s┆
0x1c0…1e0 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61   ┆ s s) ) ) )      c c c ch h h ha┆
0x1e0…200 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 3b 08 3b 08   ┆ a a ar r r r * * * *s s s s; ; ┆
0x200…220 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 ┆
0x220…240 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┆
0x240…260 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 63 5f 08 75 5f 08   ┆ I IO O O ON N N N      _ c_ u_ ┆
0x260…280 73 5f 08 65 5f 08 72 5f 08 69 5f 08 64 20 67 65 6e 65 72 61 74 65 73 20 61 20 63 68 61 72 61 63   ┆s_ e_ r_ i_ d generates a charac┆
0x280…2a0 74 65 72 2d 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65   ┆ter-string representation of the┆
0x2a0…2c0 0a 20 20 20 20 20 6c 6f 67 69 6e 20 6e 61 6d 65 20 74 68 61 74 20 74 68 65 20 6f 77 6e 65 72 20   ┆      login name that the owner ┆
0x2c0…2e0 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 63 65 73 73 20 69 73 20 6c 6f 67 67 65 64   ┆of the current process is logged┆
0x2e0…300 0a 20 20 20 20 20 69 6e 20 75 6e 64 65 72 2e 20 20 49 66 20 5f 08 73 20 69 73 20 61 20 4e 55 4c   ┆      in under.  If _ s is a NUL┆
0x300…320 4c 20 70 6f 69 6e 74 65 72 2c 20 74 68 69 73 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 69   ┆L pointer, this representation i┆
0x320…340 73 0a 20 20 20 20 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20   ┆s      generated in an internal ┆
0x340…360 73 74 61 74 69 63 20 61 72 65 61 2c 20 74 68 65 20 61 64 64 72 65 73 73 20 6f 66 20 77 68 69 63   ┆static area, the address of whic┆
0x360…380 68 0a 20 20 20 20 20 69 73 20 72 65 74 75 72 6e 65 64 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20   ┆h      is returned.  Otherwise, ┆
0x380…3a0 5f 08 73 20 69 73 20 61 73 73 75 6d 65 64 20 74 6f 20 70 6f 69 6e 74 20 74 6f 20 61 6e 20 61 72   ┆_ s is assumed to point to an ar┆
0x3a0…3c0 72 61 79 0a 20 20 20 20 20 6f 66 20 61 74 20 6c 65 61 73 74 20 7b 4c 5f 63 75 73 65 72 69 64 7d   ┆ray      of at least {L_cuserid}┆
0x3c0…3e0 20 63 68 61 72 61 63 74 65 72 73 3b 20 74 68 65 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 20   ┆ characters; the representation ┆
0x3e0…400 69 73 0a 20 20 20 20 20 6c 65 66 74 20 69 6e 20 74 68 69 73 20 61 72 72 61 79 2e 20 20 54 68 65   ┆is      left in this array.  The┆
0x400…420 20 63 6f 6e 73 74 61 6e 74 20 7b 4c 5f 63 75 73 65 72 69 64 7d 20 69 73 20 64 65 66 69 6e 65 64   ┆ constant {L_cuserid} is defined┆
0x420…440 20 69 6e 0a 20 20 20 20 20 74 68 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74   ┆ in      the < < < <s s s st t t┆
0x440…460 08 74 64 08 64 08 64 08 64 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 2e 08 2e 08 2e 08 2e 68 08   ┆ td d d di i i io o o o. . . .h ┆
0x460…480 68 08 68 08 68 3e 08 3e 08 3e 08 3e 20 68 65 61 64 65 72 20 66 69 6c 65 2e 0a 0a 53 08 53 08 53   ┆h h h> > > > header file.  S S S┆
0x480…4a0 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 08 4c 08 4c 08 4c 53   ┆ SE E E EE E E E A A A AL L L LS┆
0x4a0…4c0 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 72 79 20 46 75 6e 63 74 69   ┆ S S SO O O O      Librry Functi┆
0x4c0…4e0 6f 6e 73 20 28 33 29 3a 20 67 65 74 6c 6f 67 69 6e 2c 20 67 65 74 70 77 6e 61 6d 2c 20 67 65 74   ┆ons (3): getlogin, getpwnam, get┆
0x4e0…500 70 77 75 69 64 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 08   ┆pwuid  R R R RE E E ET T T TU U ┆
0x500…520 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 41   ┆U UR R R RN N N N V V V VA A A A┆
0x520…540 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 74 68   ┆L L L LU U U UE E E E      If th┆
0x540…560 65 20 6c 6f 67 69 6e 20 6e 61 6d 65 20 63 61 6e 6e 6f 74 20 62 65 20 66 6f 75 6e 64 2c 20 5f 08   ┆e login name cannot be found, _ ┆
0x560…580 63 5f 08 75 5f 08 73 5f 08 65 5f 08 72 5f 08 69 5f 08 64 20 72 65 74 75 72 6e 73 20 61 20 4e 55   ┆c_ u_ s_ e_ r_ i_ d returns a NU┆
0x580…5a0 4c 4c 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 3b 20 69 66 20 5f 08 73 20 69 73 20 6e 6f 74 20 61   ┆LL      pointer; if _ s is not a┆
0x5a0…5c0 20 4e 55 4c 4c 20 70 6f 69 6e 74 65 72 2c 20 61 20 6e 75 6c 6c 20 63 68 61 72 61 63 74 65 72 0a   ┆ NULL pointer, a null character ┆
0x5c0…5e0 20 20 20 20 20 60 5c 30 27 77 69 6c 6c 20 62 65 20 70 6c 61 63 65 64 20 61 74 20 2a 5f 08 73 2e   ┆     `\0'will be placed at *_ s.┆
0x5e0…600 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆  December 1990                 ┆
0x600…620 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┆
0x620…640 6e 63 65 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   ┆nce                             ┆
0x640…643 0a 0a 0a                                                                                          ┆   ┆