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

⟦fba87273a⟧

    Length: 3173 (0xc65)
    Names: »getpwent.3«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat3/getpwent.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 67 65 74 70 77 65 6e 74 28 33 29 0a 0a 0a 0a   ┆ions             getpwent(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 67 65 74 70 77 65 6e 74 2c 20 67 65 74 70 77 75 69 64 2c 20 67 65 74 70 77 6e 61 6d 2c 20   ┆  getpwent, getpwuid, getpwnam, ┆
0x0a0…0c0 73 65 74 70 77 65 6e 74 2c 20 65 6e 64 70 77 65 6e 74 20 2d 20 67 65 74 20 70 61 73 73 2d 0a 20   ┆setpwent, endpwent - get pass-  ┆
0x0c0…0e0 20 20 20 20 77 6f 72 64 20 66 69 6c 65 20 65 6e 74 72 79 0a 0a 53 08 53 08 53 08 53 59 08 59 08   ┆    word file entry  S S S SY Y ┆
0x0e0…100 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 08 58 08 58 08 58 0a   ┆Y YN N N NT T T TA A A AX X X X ┆
0x100…120 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 6e 63 08 63 08 63 08   ┆     # # # #i i i in n n nc c c ┆
0x120…140 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 08 65 08 65 20 3c 08   ┆cl l l lu u u ud d d de e e e < ┆
0x140…160 3c 08 3c 08 3c 70 08 70 08 70 08 70 77 08 77 08 77 08 77 64 08 64 08 64 08 64 2e 08 2e 08 2e 08   ┆< < <p p p pw w w wd d d d. . . ┆
0x160…180 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74   ┆.h h h h> > > >       s s s st t┆
0x180…1a0 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74   ┆ t tr r r ru u u uc c c ct t t t┆
0x1a0…1c0 20 70 08 70 08 70 08 70 61 08 61 08 61 08 61 73 08 73 08 73 08 73 73 08 73 08 73 08 73 77 08 77   ┆ p p p pa a a as s s ss s s sw w┆
0x1c0…1e0 08 77 08 77 64 08 64 08 64 08 64 20 2a 08 2a 08 2a 08 2a 67 08 67 08 67 08 67 65 08 65 08 65 08   ┆ w wd d d d * * * *g g g ge e e ┆
0x1e0…200 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 77 08 77 08 77 08 77 65 08 65 08 65 08 65 6e 08 6e   ┆et t t tp p p pw w w we e e en n┆
0x200…220 08 6e 08 6e 74 08 74 08 74 08 74 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20   ┆ n nt t t t( ( ( () ) ) )       ┆
0x220…240 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 63 08 63 08   ┆s s s st t t tr r r ru u u uc c ┆
0x240…260 63 08 63 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 61 08 61 08 61 08 61 73 08 73 08 73 08 73   ┆c ct t t t p p p pa a a as s s s┆
0x260…280 73 08 73 08 73 08 73 77 08 77 08 77 08 77 64 08 64 08 64 08 64 20 2a 08 2a 08 2a 08 2a 67 08 67   ┆s s s sw w w wd d d d * * * *g g┆
0x280…2a0 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 77 08 77 08 77 08 77   ┆ g ge e e et t t tp p p pw w w w┆
0x2a0…2c0 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 28 08 28 08 28 08 28 75 08 75 08   ┆u u u ui i i id d d d( ( ( (u u ┆
0x2c0…2e0 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08   ┆u ui i i id d d d) ) ) )      i ┆
0x2e0…300 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 75 08 75 08 75 08 75 69 08 69 08 69   ┆i i in n n nt t t t u u u ui i i┆
0x300…320 08 69 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08   ┆ id d d d; ; ; ;       s s s st ┆
0x320…340 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08   ┆t t tr r r ru u u uc c c ct t t ┆
0x340…360 74 20 70 08 70 08 70 08 70 61 08 61 08 61 08 61 73 08 73 08 73 08 73 73 08 73 08 73 08 73 77 08   ┆t p p p pa a a as s s ss s s sw ┆
0x360…380 77 08 77 08 77 64 08 64 08 64 08 64 20 2a 08 2a 08 2a 08 2a 67 08 67 08 67 08 67 65 08 65 08 65   ┆w w wd d d d * * * *g g g ge e e┆
0x380…3a0 08 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 77 08 77 08 77 08 77 6e 08 6e 08 6e 08 6e 61 08   ┆ et t t tp p p pw w w wn n n na ┆
0x3a0…3c0 61 08 61 08 61 6d 08 6d 08 6d 08 6d 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08   ┆a a am m m m( ( ( (n n n na a a ┆
0x3c0…3e0 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08   ┆am m m me e e e) ) ) )      c c ┆
0x3e0…400 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 2a   ┆c ch h h ha a a ar r r r * * * *┆
0x400…420 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08   ┆n n n na a a am m m me e e e; ; ┆
0x420…440 3b 08 3b 0a 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 ┆
0x440…460 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 77 08 77 08   ┆s s s se e e et t t tp p p pw w ┆
0x460…480 77 08 77 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 28 08 28 08 28 08 28 29   ┆w we e e en n n nt t t t( ( ( ()┆
0x480…4a0 08 29 08 29 08 29 0a 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   ┆ ) ) )       i i i in n n nt t t┆
0x4a0…4c0 08 74 20 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 70 08 70 08 70 08 70 77   ┆ t e e e en n n nd d d dp p p pw┆
0x4c0…4e0 08 77 08 77 08 77 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 28 08 28 08 28   ┆ w w we e e en n n nt t t t( ( (┆
0x4e0…500 08 28 29 08 29 08 29 08 29 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53   ┆ () ) ) )  D D D DE E E ES S S S┆
0x500…520 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 08 54 08   ┆C C C CR R R RI I I IP P P PT T ┆
0x520…540 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 20 5f 08   ┆T TI I I IO O O ON N N N      _ ┆
0x540…560 67 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 65 5f 08 6e 5f 08 74 2c 20 5f 08 67 5f 08 65 5f 08   ┆g_ e_ t_ p_ w_ e_ n_ t, _ g_ e_ ┆
0x560…580 74 5f 08 70 5f 08 77 5f 08 75 5f 08 69 5f 08 64 2c 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f   ┆t_ p_ w_ u_ i_ d, and _ g_ e_ t_┆
0x580…5a0 08 70 5f 08 77 5f 08 6e 5f 08 61 5f 08 6d 20 65 61 63 68 20 72 65 74 75 72 6e 20 61 20 70 6f 69   ┆ p_ w_ n_ a_ m each return a poi┆
0x5a0…5c0 6e 74 65 72 20 74 6f 20 61 6e 0a 20 20 20 20 20 6f 62 6a 65 63 74 20 77 69 74 68 20 74 68 65 20   ┆nter to an      object with the ┆
0x5c0…5e0 66 6f 6c 6c 6f 77 69 6e 67 20 73 74 72 75 63 74 75 72 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74   ┆following structure containing t┆
0x5e0…600 68 65 20 62 72 6f 6b 65 6e 2d 0a 20 20 20 20 20 6f 75 74 20 66 69 65 6c 64 73 20 6f 66 20 61 20   ┆he broken-      out fields of a ┆
0x600…620 6c 69 6e 65 20 69 6e 20 74 68 65 20 70 61 73 73 77 6f 72 64 20 66 69 6c 65 2e 0a 0a 20 20 20 20   ┆line in the password file.      ┆
0x620…640 20 20 20 20 20 20 73 74 72 75 63 74 20 20 70 61 73 73 77 64 20 7b 20 2f 2a 20 73 65 65 20 67 65   ┆      struct  passwd { /* see ge┆
0x640…660 74 70 77 65 6e 74 28 33 29 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63   ┆tpwent(3) */                   c┆
0x660…680 68 61 72 20 20 20 20 2a 70 77 5f 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆har    *pw_name;                ┆
0x680…6a0 20 20 20 63 68 61 72 20 20 20 20 2a 70 77 5f 70 61 73 73 77 64 3b 0a 20 20 20 20 20 20 20 20 20   ┆   char    *pw_passwd;          ┆
0x6a0…6c0 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 70 77 5f 75 69 64 3b 0a 20 20 20 20 20 20 20   ┆         int     pw_uid;        ┆
0x6c0…6e0 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 70 77 5f 67 69 64 3b 0a 20 20 20 20 20   ┆           int     pw_gid;      ┆
0x6e0…700 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 20 70 77 5f 71 75 6f 74 61 3b 0a 20   ┆             int     pw_quota;  ┆
0x700…720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 20 20 20 2a 70 77 5f 63 6f 6d   ┆                 char    *pw_com┆
0x720…740 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 20 20 20   ┆ment;                   char    ┆
0x740…760 2a 70 77 5f 67 65 63 6f 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61   ┆*pw_gecos;                   cha┆
0x760…780 72 20 20 20 20 2a 70 77 5f 64 69 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r    *pw_dir;                   ┆
0x780…7a0 63 68 61 72 20 20 20 20 2a 70 77 5f 73 68 65 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a   ┆char    *pw_shell;           }; ┆
0x7a0…7c0 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 70 61 73 73 77 64 20 2a 67 65 74 70 77 65   ┆           struct passwd *getpwe┆
0x7c0…7e0 6e 74 28 29 2c 20 2a 67 65 74 70 77 75 69 64 28 29 2c 20 2a 67 65 74 70 77 6e 61 6d 28 29 3b 0a   ┆nt(), *getpwuid(), *getpwnam(); ┆
0x7e0…800 0a 20 20 20 20 20 54 68 65 20 66 69 65 6c 64 73 20 5f 08 70 5f 08 77 5f 5f 08 71 5f 08 75 5f 08   ┆      The fields _ p_ w__ q_ u_ ┆
0x800…820 6f 5f 08 74 5f 08 61 20 61 6e 64 20 5f 08 70 5f 08 77 5f 5f 08 63 5f 08 6f 5f 08 6d 5f 08 6d 5f   ┆o_ t_ a and _ p_ w__ c_ o_ m_ m_┆
0x820…840 08 65 5f 08 6e 5f 08 74 20 61 72 65 20 75 6e 75 73 65 64 3b 20 74 68 65 20 6f 74 68 65 72 73 0a   ┆ e_ n_ t are unused; the others ┆
0x840…860 20 20 20 20 20 68 61 76 65 20 6d 65 61 6e 69 6e 67 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20   ┆     have meanings described in ┆
0x860…880 5f 08 70 5f 08 61 5f 08 73 5f 08 73 5f 08 77 5f 08 64 28 35 29 2e 0a 0a 20 20 20 20 20 5f 08 67   ┆_ p_ a_ s_ s_ w_ d(5).       _ g┆
0x880…8a0 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 65 5f 08 6e 5f 08 74 20 72 65 61 64 73 20 74 68 65 20   ┆_ e_ t_ p_ w_ e_ n_ t reads the ┆
0x8a0…8c0 6e 65 78 74 20 6c 69 6e 65 20 28 6f 70 65 6e 69 6e 67 20 74 68 65 20 66 69 6c 65 20 69 66 20 6e   ┆next line (opening the file if n┆
0x8c0…8e0 65 63 65 73 2d 0a 20 20 20 20 20 73 61 72 79 29 3b 20 5f 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08   ┆eces-      sary); _ s_ e_ t_ p_ ┆
0x8e0…900 77 5f 08 65 5f 08 6e 5f 08 74 20 72 65 77 69 6e 64 73 20 74 68 65 20 66 69 6c 65 3b 20 5f 08 65   ┆w_ e_ n_ t rewinds the file; _ e┆
0x900…920 5f 08 6e 5f 08 64 5f 08 70 5f 08 77 5f 08 65 5f 08 6e 5f 08 74 20 63 6c 6f 73 65 73 20 69 74 2e   ┆_ n_ d_ p_ w_ e_ n_ t closes it.┆
0x920…940 0a 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 75 5f 08 69 5f 08 64 20   ┆       _ g_ e_ t_ p_ w_ u_ i_ d ┆
0x940…960 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 6e 5f 08 61 5f 08 6d 20 73 65 61   ┆and _ g_ e_ t_ p_ w_ n_ a_ m sea┆
0x960…980 72 63 68 20 66 72 6f 6d 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 75 6e 74 69 6c 20 61 0a 20   ┆rch from the beginning until a  ┆
0x980…9a0 20 20 20 20 6d 61 74 63 68 69 6e 67 20 5f 08 75 5f 08 69 5f 08 64 20 6f 72 20 5f 08 6e 5f 08 61   ┆    matching _ u_ i_ d or _ n_ a┆
0x9a0…9c0 5f 08 6d 5f 08 65 20 69 73 20 66 6f 75 6e 64 20 28 6f 72 20 75 6e 74 69 6c 20 45 4f 46 20 69 73   ┆_ m_ e is found (or until EOF is┆
0x9c0…9e0 20 65 6e 63 6f 75 6e 74 65 72 65 64 29 2e 0a 0a 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08   ┆ encountered).  F F F FI I I IL ┆
0x9e0…a00 4c 08 4c 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 2f 65 74 63 2f 70 61   ┆L L LE E E ES S S S      /etc/pa┆
0xa00…a20 73 73 77 64 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08   ┆sswd  S S S SE E E EE E E E A A ┆
0xa20…a40 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 20 20 4c 69   ┆A AL L L LS S S SO O O O      Li┆
0xa40…a60 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 67 65 74 6c 6f 67 69 6e 2c 20   ┆brary Functions (3):  getlogin, ┆
0xa60…a80 67 65 74 67 72 65 6e 74 0a 20 20 20 20 20 46 69 6c 65 20 46 6f 72 6d 61 74 73 20 28 35 29 3a 20   ┆getgrent      File Formats (5): ┆
0xa80…aa0 20 70 61 73 73 77 64 0a 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d   ┆ passwd      System Manager Comm┆
0xaa0…ac0 61 6e 64 73 20 28 38 29 3a 20 20 70 77 73 65 72 76 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08   ┆ands (8):  pwserv  D D D DI I I ┆
0xac0…ae0 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53   ┆IA A A AG G G GN N N NO O O OS S┆
0xae0…b00 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53   ┆ S ST T T TI I I IC C C CS S S S┆
0xb00…b20 0a 20 20 20 20 20 4e 75 6c 6c 20 70 6f 69 6e 74 65 72 20 28 30 29 20 72 65 74 75 72 6e 65 64 20   ┆      Null pointer (0) returned ┆
0xb20…b40 6f 6e 20 45 4f 46 20 6f 72 20 65 72 72 6f 72 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 4c 08 4c 08 4c 08 4c   ┆on EOF or error.         L L L L┆
0xb40…b60 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08   ┆I I I IM M M MI I I IT T T TA A ┆
0xb60…b80 41 08 41 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 4e 08 4e 53   ┆A AT T T TI I I IO O O ON N N NS┆
0xb80…ba0 08 53 08 53 08 53 0a 20 20 20 20 20 41 6c 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 63   ┆ S S S      All information is c┆
0xba0…bc0 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 20 73 74 61 74 69 63 20 61 72 65 61 2c 20 73 6f 20 69 74   ┆ontained in a static area, so it┆
0xbc0…be0 20 6d 75 73 74 20 62 65 0a 20 20 20 20 20 63 6f 70 69 65 64 20 69 66 20 69 74 20 69 73 20 74 6f   ┆ must be      copied if it is to┆
0xbe0…c00 20 62 65 20 73 61 76 65 64 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20   ┆ be saved.  March 1989          ┆
0xc00…c20 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 65   ┆                    TX Programme┆
0xc20…c40 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 0a   ┆r's Reference                   ┆
0xc40…c60 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   ┆                                ┆
0xc60…c65 0a 0a 0a 0a 0a                                                                                    ┆     ┆