|
|
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: g
Length: 3000 (0xbb8)
Names: »getpwent.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/getpwent.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 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 75 69 64 2c 20 67 65 74 70 77 6e 61 6d 2c 20 67 65 74 70 77 65 6e 74 2c 20 ┆ getpwuid, getpwnam, getpwent, ┆ 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 75 08 75 08 75 08 75 69 08 69 ┆et t t tp p p pw w w wu u u ui i┆ 0x200…220 08 69 08 69 64 08 64 08 64 08 64 28 08 28 08 28 08 28 75 08 75 08 75 08 75 69 08 69 08 69 08 69 ┆ i id d d d( ( ( (u u u ui i i i┆ 0x220…240 64 08 64 08 64 08 64 29 08 29 08 29 08 29 0a 20 20 20 20 20 75 08 75 08 75 08 75 69 08 69 08 69 ┆d d d d) ) ) ) u u u ui i i┆ 0x240…260 08 69 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 75 08 75 08 75 08 75 69 ┆ id d d d_ _ _ _t t t t u u u ui┆ 0x260…280 08 69 08 69 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 ┆ i i id d d d; ; ; ; s s s┆ 0x280…2a0 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 63 08 63 74 08 ┆ st t t tr r r ru u u uc c c ct ┆ 0x2a0…2c0 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 73 08 73 08 73 ┆t t t p p p pa a a as s s ss s s┆ 0x2c0…2e0 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 08 67 08 67 65 ┆ sw w w wd d d d * * * *g g g ge┆ 0x2e0…300 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 6e 08 6e 08 6e ┆ e e et t t tp p p pw w w wn n n┆ 0x300…320 08 6e 61 08 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 ┆ na a a am m m m( ( ( (n n n na ┆ 0x320…340 61 08 61 08 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 ┆a a am m m me e e e) ) ) ) ┆ 0x340…360 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 2a ┆c c c ch h h ha a a ar r r r * *┆ 0x360…380 08 2a 08 2a 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 ┆ * *n n n na a a am m m me e e e┆ 0x380…3a0 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 ┆; ; ; ; s s s st t t tr r ┆ 0x3a0…3c0 72 08 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 ┆r ru u u uc c c ct t t t p p p p┆ 0x3c0…3e0 61 08 61 08 61 08 61 73 08 73 08 73 08 73 73 08 73 08 73 08 73 77 08 77 08 77 08 77 64 08 64 08 ┆a a a as s s ss s s sw w w wd d ┆ 0x3e0…400 64 08 64 20 2a 08 2a 08 2a 08 2a 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 ┆d d * * * *g g g ge e e et t t t┆ 0x400…420 70 08 70 08 70 08 70 77 08 77 08 77 08 77 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 ┆p p p pw w w we e e en n n nt t ┆ 0x420…440 74 08 74 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e ┆t t( ( ( () ) ) ) i i i in┆ 0x440…460 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 ┆ n n nt t t t s s s se e e et t ┆ 0x460…480 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 08 6e 08 6e 74 ┆t tp p p pw w w we e e en n n nt┆ 0x480…4a0 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 69 08 69 08 69 ┆ t t t( ( ( () ) ) ) i i i┆ 0x4a0…4c0 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 64 ┆ in n n nt t t t e e e en n n nd┆ 0x4c0…4e0 08 64 08 64 08 64 70 08 70 08 70 08 70 77 08 77 08 77 08 77 65 08 65 08 65 08 65 6e 08 6e 08 6e ┆ d d dp p p pw w w we e e en n n┆ 0x4e0…500 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 44 08 44 08 44 08 44 ┆ nt t t t( ( ( () ) ) ) D D D D┆ 0x500…520 45 08 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 ┆E E E ES S S SC C C CR R R RI I ┆ 0x520…540 49 08 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 ┆I IP P P PT T T TI I I IO O O ON┆ 0x540…560 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 6e 5f 08 ┆ N N N _ g_ e_ t_ p_ w_ n_ ┆ 0x560…580 61 5f 08 6d 20 73 65 61 72 63 68 65 73 20 74 68 65 20 75 73 65 72 20 64 61 74 61 62 61 73 65 20 ┆a_ m searches the user database ┆ 0x580…5a0 66 6f 72 20 61 6e 20 65 6e 74 72 79 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 5f 08 70 5f 08 ┆for an entry with the _ p_ ┆ 0x5a0…5c0 77 5f 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 66 69 65 6c 64 20 74 68 61 74 20 6d 61 74 63 68 65 ┆w__ n_ a_ m_ e field that matche┆ 0x5c0…5e0 73 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 2e 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 72 65 ┆s _ n_ a_ m_ e. The function re┆ 0x5e0…600 74 75 72 6e 73 20 61 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 73 08 73 08 73 08 ┆turns a pointer to a s s s ┆ 0x600…620 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 63 08 63 74 08 74 ┆st t t tr r r ru u u uc c c ct t┆ 0x620…640 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 73 08 73 08 73 08 ┆ t t p p p pa a a as s s ss s s ┆ 0x640…660 73 77 08 77 08 77 08 77 64 08 64 08 64 08 64 20 28 61 73 20 64 65 66 69 6e 65 64 20 69 6e 20 3c ┆sw w w wd d d d (as defined in <┆ 0x660…680 08 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 ┆ < < <p p p pw w w wd d d d. . .┆ 0x680…6a0 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 29 20 77 69 74 68 20 61 0a 20 20 20 20 20 6d 61 ┆ .h h h h> > > >) with a ma┆ 0x6a0…6c0 74 63 68 69 6e 67 20 65 6e 74 72 79 2c 20 69 66 20 6f 6e 65 20 69 73 20 66 6f 75 6e 64 2e 20 49 ┆tching entry, if one is found. I┆ 0x6c0…6e0 66 20 72 65 74 75 72 6e 73 20 4e 55 4c 4c 20 6f 6e 20 65 72 72 6f 72 20 6f 72 0a 20 20 20 20 20 ┆f returns NULL on error or ┆ 0x6e0…700 69 66 20 74 68 65 20 72 65 71 75 65 73 74 65 64 20 65 6e 74 72 79 20 69 73 20 6e 6f 74 20 66 6f ┆if the requested entry is not fo┆ 0x700…720 75 6e 64 2e 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 ┆und. _ g_ e_ t_ p_ w_ u_ i┆ 0x720…740 5f 08 64 20 73 65 61 72 63 68 65 73 20 74 68 65 20 75 73 65 72 20 64 61 74 61 62 61 73 65 20 66 ┆_ d searches the user database f┆ 0x740…760 6f 72 20 61 6e 20 65 6e 74 72 79 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 5f 08 70 5f 08 77 ┆or an entry with the _ p_ w┆ 0x760…780 5f 5f 08 75 5f 08 69 5f 08 64 20 66 69 65 6c 64 20 74 68 61 74 20 6d 61 74 63 68 65 73 20 5f 08 ┆__ u_ i_ d field that matches _ ┆ 0x780…7a0 75 5f 08 69 5f 08 64 2e 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 61 ┆u_ i_ d. The function returns a┆ 0x7a0…7c0 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 73 08 73 08 73 08 73 74 08 74 08 74 08 ┆ pointer to a s s s st t t ┆ 0x7c0…7e0 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 20 70 08 ┆tr r r ru u u uc c c ct t t t p ┆ 0x7e0…800 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 08 77 08 ┆p p pa a a as s s ss s s sw w w ┆ 0x800…820 77 64 08 64 08 64 08 64 20 77 69 74 68 20 61 20 6d 61 74 63 68 69 6e 67 20 65 6e 74 72 79 2c 20 ┆wd d d d with a matching entry, ┆ 0x820…840 69 66 20 6f 6e 65 20 69 73 0a 20 20 20 20 20 66 6f 75 6e 64 2e 20 49 66 20 72 65 74 75 72 6e 73 ┆if one is found. If returns┆ 0x840…860 20 4e 55 4c 4c 20 6f 6e 20 65 72 72 6f 72 20 6f 72 20 69 66 20 61 6e 20 65 6e 74 72 79 20 69 73 ┆ NULL on error or if an entry is┆ 0x860…880 20 6e 6f 74 20 66 6f 75 6e 64 2e 0a 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 ┆ not found. _ g_ e_ t_ p_ ┆ 0x880…8a0 77 5f 08 65 5f 08 6e 5f 08 74 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 65 78 74 20 65 6e 74 72 ┆w_ e_ n_ t returns the next entr┆ 0x8a0…8c0 79 20 28 69 2e 65 2e 2c 20 6c 69 6e 65 29 20 66 72 6f 6d 20 74 68 65 20 70 61 73 73 2d 0a 20 20 ┆y (i.e., line) from the pass- ┆ 0x8c0…8e0 20 20 20 77 6f 72 64 20 66 69 6c 65 2c 20 6f 70 65 6e 69 6e 67 20 74 68 65 20 66 69 6c 65 20 69 ┆ word file, opening the file i┆ 0x8e0…900 66 20 6e 65 63 65 73 73 61 72 79 2e 20 20 5f 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08 77 5f 08 65 ┆f necessary. _ s_ e_ t_ p_ w_ e┆ 0x900…920 5f 08 6e 5f 08 74 20 72 65 77 69 6e 64 73 0a 20 20 20 20 20 74 68 65 20 66 69 6c 65 2c 20 5f 08 ┆_ n_ t rewinds the file, _ ┆ 0x920…940 65 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 ┆e_ n_ d_ p_ w_ e_ n_ t closes it┆ 0x940…960 2e 0a 0a 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 54 08 54 08 54 08 54 45 08 45 08 45 08 45 53 ┆. N N N NO O O OT T T TE E E ES┆ 0x960…980 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 5f 08 67 5f 08 65 ┆ S S S The functions _ g_ e┆ 0x980…9a0 5f 08 74 5f 08 70 5f 08 77 5f 08 6e 5f 08 61 5f 08 6d 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 ┆_ t_ p_ w_ n_ a_ m and _ g_ e_ t┆ 0x9a0…9c0 5f 08 70 5f 08 77 5f 08 75 5f 08 69 5f 08 64 20 64 6f 20 6e 6f 74 20 64 65 70 65 6e 64 20 6f 6e ┆_ p_ w_ u_ i_ d do not depend on┆ 0x9c0…9e0 20 74 68 65 0a 20 20 20 20 20 75 73 65 72 20 64 61 74 61 62 61 73 65 20 62 65 69 6e 67 20 61 20 ┆ the user database being a ┆ 0x9e0…a00 66 69 6c 65 2c 20 77 68 69 6c 65 20 74 68 65 20 6f 74 68 65 72 20 66 75 6e 63 74 69 6f 6e 73 20 ┆file, while the other functions ┆ 0xa00…a20 6d 61 79 20 64 6f 0a 20 20 20 20 20 73 6f 2e 20 54 68 65 72 65 66 6f 72 65 2c 20 74 68 65 20 6c ┆may do so. Therefore, the l┆ 0xa20…a40 61 73 74 20 74 68 72 65 65 20 66 75 6e 63 74 69 6f 6e 73 20 68 61 76 65 20 62 65 65 6e 20 77 69 ┆ast three functions have been wi┆ 0xa40…a60 74 68 64 72 61 77 6e 0a 20 20 20 20 20 66 72 6f 6d 20 74 68 65 20 5f 08 58 2f 5f 08 4f 5f 08 70 ┆thdrawn from the _ X/_ O_ p┆ 0xa60…a80 5f 08 65 5f 08 6e 20 5f 08 50 5f 08 6f 5f 08 72 5f 08 74 5f 08 61 5f 08 62 5f 08 69 5f 08 6c 5f ┆_ e_ n _ P_ o_ r_ t_ a_ b_ i_ l_┆ 0xa80…aa0 08 69 5f 08 74 5f 08 79 20 5f 08 47 5f 08 75 5f 08 69 5f 08 64 5f 08 65 2c 20 49 73 73 75 65 20 ┆ i_ t_ y _ G_ u_ i_ d_ e, Issue ┆ 0xaa0…ac0 33 2c 20 61 6e 64 20 6d 61 79 20 6e 6f 74 20 62 65 0a 20 20 20 20 20 66 6f 75 6e 64 20 6f 6e 20 ┆3, and may not be found on ┆ 0xac0…ae0 6f 74 68 65 72 20 58 2f 4f 70 65 6e 20 63 6f 6e 66 6f 72 6d 61 6e 74 20 70 6c 61 74 66 6f 72 6d ┆other X/Open conformant platform┆ 0xae0…b00 73 2e 20 49 74 20 69 73 20 72 65 63 6f 6d 2d 0a 20 20 20 20 20 6d 65 6e 64 65 64 20 74 68 61 74 ┆s. It is recom- mended that┆ 0xb00…b20 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 74 68 61 74 20 73 68 6f 75 6c 64 20 62 65 20 70 6f 72 ┆ applications that should be por┆ 0xb20…b40 74 61 62 6c 65 20 61 63 72 6f 73 73 0a 20 20 20 20 20 70 6c 61 74 66 6f 72 6d 73 20 75 73 65 20 ┆table across platforms use ┆ 0xb40…b60 6f 6e 6c 79 20 74 68 65 20 66 69 72 73 74 20 74 77 6f 20 6f 66 20 74 68 65 73 65 20 66 75 6e 63 ┆only the first two of these func┆ 0xb60…b80 74 69 6f 6e 73 2e 0a 0a 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 ┆tions. December 1990 ┆ 0xb80…ba0 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 72 27 ┆ TX Programmer'┆ 0xba0…bb8 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆s Reference ┆