|
|
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: 4428 (0x114c)
Names: »getservent.3n«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/getservent.3n«
└─⟦this⟧ »./usr/man/cat3/getservent.3n«
0x0000…0020 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_┆
0x0020…0040 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┆
0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 67 65 74 73 65 72 76 65 6e 74 28 33 6e 29 0a 0a 0a 0a ┆ions getservent(3n) ┆
0x0060…0080 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 ┆
0x0080…00a0 20 20 67 65 74 73 65 72 76 65 6e 74 2c 20 67 65 74 73 65 72 76 62 79 70 6f 72 74 2c 20 67 65 74 ┆ getservent, getservbyport, get┆
0x00a0…00c0 73 65 72 76 62 79 6e 61 6d 65 2c 20 73 65 74 73 65 72 76 65 6e 74 2c 0a 20 20 20 20 20 65 6e 64 ┆servbyname, setservent, end┆
0x00c0…00e0 73 65 72 76 65 6e 74 20 2d 20 67 65 74 20 73 65 72 76 69 63 65 20 65 6e 74 72 79 0a 0a 53 08 53 ┆servent - get service entry S S┆
0x00e0…0100 08 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 ┆ S SY Y Y YN N N NT T T TA A A A┆
0x0100…0120 58 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 ┆X X X X # # # #i i i in n n┆
0x0120…0140 08 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 ┆ nc c c cl l l lu u u ud d d de ┆
0x0140…0160 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 ┆e e e < < < <n n n ne e e et t t┆
0x0160…0180 08 74 64 08 64 08 64 08 64 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ td d d db b b b. . . .h h h h> ┆
0x0180…01a0 3e 08 3e 08 3e 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 72 08 ┆> > > s s s st t t tr r r ┆
0x01a0…01c0 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 65 08 ┆ru u u uc c c ct t t t s s s se ┆
0x01c0…01e0 65 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 76 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 ┆e e er r r rv v v ve e e en n n ┆
0x01e0…0200 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 ┆nt t t t * * * *g g g ge e e et ┆
0x0200…0220 74 08 74 08 74 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 ┆t t ts s s se e e er r r rv v v ┆
0x0220…0240 76 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 08 29 ┆ve e e en n n nt t t t( ( ( () )┆
0x0240…0260 08 29 08 29 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 72 08 72 ┆ ) ) s s s st t t tr r r r┆
0x0260…0280 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 65 08 65 ┆u u u uc c c ct t t t s s s se e┆
0x0280…02a0 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 76 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e ┆ e er r r rv v v ve e e en n n n┆
0x02a0…02c0 74 08 74 08 74 08 74 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 ┆t t t t * * * *g g g ge e e et t┆
0x02c0…02e0 08 74 08 74 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 76 ┆ t ts s s se e e er r r rv v v v┆
0x02e0…0300 62 08 62 08 62 08 62 79 08 79 08 79 08 79 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 ┆b b b by y y yn n n na a a am m ┆
0x0300…0320 6d 08 6d 65 08 65 08 65 08 65 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d ┆m me e e e( ( ( (n n n na a a am┆
0x0320…0340 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 ┆ m m me e e e, , , , p p p pr r ┆
0x0340…0360 72 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 29 08 29 08 29 08 29 0a ┆r ro o o ot t t to o o o) ) ) ) ┆
0x0360…0380 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 ┆
0x0380…03a0 72 20 2a 08 2a 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 ┆r * * * *n n n na a a am m m me ┆
0x03a0…03c0 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 72 08 72 08 72 ┆e e e, , , , * * * *p p p pr r r┆
0x03c0…03e0 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 3b 08 3b 08 3b 08 3b 0a 0a ┆ ro o o ot t t to o o o; ; ; ; ┆
0x03e0…0400 20 20 20 20 20 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 ┆ s s s st t t tr r r ru u u ┆
0x0400…0420 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 ┆uc c c ct t t t s s s se e e er ┆
0x0420…0440 72 08 72 08 72 76 08 76 08 76 08 76 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 ┆r r rv v v ve e e en n n nt t t ┆
0x0440…0460 74 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 73 08 ┆t * * * *g g g ge e e et t t ts ┆
0x0460…0480 73 08 73 08 73 65 08 65 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 76 62 08 62 08 62 08 ┆s s se e e er r r rv v v vb b b ┆
0x0480…04a0 62 79 08 79 08 79 08 79 70 08 70 08 70 08 70 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 74 08 74 ┆by y y yp p p po o o or r r rt t┆
0x04a0…04c0 08 74 08 74 28 08 28 08 28 08 28 70 08 70 08 70 08 70 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 ┆ t t( ( ( (p p p po o o or r r r┆
0x04c0…04e0 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f ┆t t t t, , , , p p p pr r r ro o┆
0x04e0…0500 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 ┆ o ot t t to o o o) ) ) ) i┆
0x0500…0520 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 6f 08 6f 08 ┆ i i in n n nt t t t p p p po o ┆
0x0520…0540 6f 08 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 20 63 08 63 08 63 08 63 ┆o or r r rt t t t; ; ; ; c c c c┆
0x0540…0560 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 70 08 70 ┆h h h ha a a ar r r r * * * *p p┆
0x0560…0580 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f ┆ p pr r r ro o o ot t t to o o o┆
0x0580…05a0 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 ┆; ; ; ; s s s se e e et t ┆
0x05a0…05c0 74 08 74 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 72 08 72 08 72 76 08 76 08 76 08 76 65 ┆t ts s s se e e er r r rv v v ve┆
0x05c0…05e0 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 73 08 73 08 73 ┆ e e en n n nt t t t( ( ( (s s s┆
0x05e0…0600 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 79 08 79 08 79 08 79 6f 08 6f 08 6f 08 6f 70 08 ┆ st t t ta a a ay y y yo o o op ┆
0x0600…0620 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 29 08 29 08 29 08 29 0a 20 20 20 20 20 ┆p p pe e e en n n n) ) ) ) ┆
0x0620…0640 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 74 08 74 ┆i i i in n n nt t t t s s s st t┆
0x0640…0660 08 74 08 74 61 08 61 08 61 08 61 79 08 79 08 79 08 79 6f 08 6f 08 6f 08 6f 70 08 70 08 70 08 70 ┆ t ta a a ay y y yo o o op p p p┆
0x0660…0680 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 0a 0a 20 20 20 20 20 65 08 65 08 65 08 65 6e 08 6e 08 ┆e e e en n n n e e e en n ┆
0x0680…06a0 6e 08 6e 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 72 08 72 08 72 76 ┆n nd d d ds s s se e e er r r rv┆
0x06a0…06c0 08 76 08 76 08 76 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 ┆ v v ve e e en n n nt t t t( ( (┆
0x06c0…06e0 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┆
0x06e0…0700 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 ┆
0x0700…0720 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 _ ┆
0x0720…0740 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 2c 20 5f 08 ┆g_ e_ t_ s_ e_ r_ v_ e_ n_ t, _ ┆
0x0740…0760 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 62 5f 08 79 5f 08 6e 5f 08 61 5f ┆g_ e_ t_ s_ e_ r_ v_ b_ y_ n_ a_┆
0x0760…0780 08 6d 5f 08 65 2c 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 ┆ m_ e, and _ g_ e_ t_ s_ e_ r_ v┆
0x0780…07a0 5f 08 62 5f 08 79 5f 08 70 5f 08 6f 5f 08 72 5f 08 74 20 65 61 63 68 20 72 65 74 75 72 6e 20 61 ┆_ b_ y_ p_ o_ r_ t each return a┆
0x07a0…07c0 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 20 6f 62 6a 65 63 74 20 77 69 74 68 20 ┆ pointer to an object with ┆
0x07c0…07e0 74 68 65 20 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 ┆the following structure containi┆
0x07e0…0800 6e 67 0a 20 20 20 20 20 74 68 65 20 62 72 6f 6b 65 6e 2d 6f 75 74 20 66 69 65 6c 64 73 20 6f 66 ┆ng the broken-out fields of┆
0x0800…0820 20 61 20 6c 69 6e 65 20 69 6e 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 73 65 72 76 69 63 65 73 20 ┆ a line in the network services ┆
0x0820…0840 64 61 74 61 0a 20 20 20 20 20 62 61 73 65 2c 20 2f 65 74 63 2f 73 65 72 76 69 63 65 73 2e 0a 0a ┆data base, /etc/services. ┆
0x0840…0860 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 20 20 20 73 65 72 76 65 6e 74 20 7b 0a 20 20 ┆ struct servent { ┆
0x0860…0880 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 2a 73 5f 6e 61 6d 65 3b 20 20 2f 2a 20 6f ┆ char *s_name; /* o┆
0x0880…08a0 66 66 69 63 69 61 6c 20 6e 61 6d 65 20 6f 66 20 73 65 72 76 69 63 65 20 2a 2f 0a 20 20 20 20 20 ┆fficial name of service */ ┆
0x08a0…08c0 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 2a 2a 73 5f 61 6c 69 61 73 65 73 3b 20 20 20 2f 2a ┆ char **s_aliases; /*┆
0x08c0…08e0 20 61 6c 69 61 73 20 6c 69 73 74 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f ┆ alias list */ lo┆
0x08e0…0900 6e 67 20 73 5f 70 6f 72 74 3b 20 20 20 20 20 20 20 20 2f 2a 20 70 6f 72 74 20 73 65 72 76 69 63 ┆ng s_port; /* port servic┆
0x0900…0920 65 20 72 65 73 69 64 65 73 20 61 74 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 ┆e resides at */ c┆
0x0920…0940 68 61 72 20 2a 73 5f 70 72 6f 74 6f 3b 20 2f 2a 20 70 72 6f 74 6f 63 6f 6c 20 74 6f 20 75 73 65 ┆har *s_proto; /* protocol to use┆
0x0940…0960 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a 0a 0a 20 20 20 20 20 54 68 65 20 6d 65 6d 62 ┆ */ }; The memb┆
0x0960…0980 65 72 73 20 6f 66 20 74 68 69 73 20 73 74 72 75 63 74 75 72 65 20 61 72 65 3a 0a 0a 20 20 20 20 ┆ers of this structure are: ┆
0x0980…09a0 20 73 08 73 08 73 08 73 5f 08 5f 08 5f 08 5f 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d ┆ s s s s_ _ _ _n n n na a a am m┆
0x09a0…09c0 08 6d 08 6d 65 08 65 08 65 08 65 20 20 20 20 20 54 68 65 20 6f 66 66 69 63 69 61 6c 20 6e 61 6d ┆ m me e e e The official nam┆
0x09c0…09e0 65 20 6f 66 20 74 68 65 20 73 65 72 76 69 63 65 2e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 5f ┆e of the service. s s s s_┆
0x09e0…0a00 08 5f 08 5f 08 5f 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 61 08 61 08 61 ┆ _ _ _a a a al l l li i i ia a a┆
0x0a00…0a20 08 61 73 08 73 08 73 08 73 65 08 65 08 65 08 65 73 08 73 08 73 08 73 20 20 41 20 7a 65 72 6f 20 ┆ as s s se e e es s s s A zero ┆
0x0a20…0a40 74 65 72 6d 69 6e 61 74 65 64 20 6c 69 73 74 20 6f 66 20 61 6c 74 65 72 6e 61 74 65 20 6e 61 6d ┆terminated list of alternate nam┆
0x0a40…0a60 65 73 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 76 69 ┆es for the servi┆
0x0a60…0a80 63 65 2e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 6f ┆ce. s s s s_ _ _ _p p p po┆
0x0a80…0aa0 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 20 20 20 20 20 54 68 65 20 70 6f 72 ┆ o o or r r rt t t t The por┆
0x0aa0…0ac0 74 20 6e 75 6d 62 65 72 20 61 74 20 20 77 68 69 63 68 20 20 74 68 65 20 20 73 65 72 76 69 63 65 ┆t number at which the service┆
0x0ac0…0ae0 20 20 72 65 73 69 64 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6f 72 74 20 ┆ resides. Port ┆
0x0ae0…0b00 6e 75 6d 62 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 69 6e 20 6e 65 74 77 6f 72 6b 20 ┆numbers are returned in network ┆
0x0b00…0b20 62 79 74 65 20 6f 72 64 65 72 2e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 5f 08 5f 08 5f 08 5f ┆byte order. s s s s_ _ _ _┆
0x0b20…0b40 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 ┆p p p pr r r ro o o ot t t to o ┆
0x0b40…0b60 6f 08 6f 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 70 72 6f 74 6f 63 6f 6c 20 ┆o o The name of the protocol ┆
0x0b60…0b80 74 6f 20 75 73 65 20 20 77 68 65 6e 20 20 63 6f 6e 74 61 63 74 69 6e 67 0a 20 20 20 20 20 20 20 ┆to use when contacting ┆
0x0b80…0ba0 20 20 20 20 20 20 20 20 20 74 68 65 20 73 65 72 76 69 63 65 2e 0a 0a 20 20 20 20 20 5f 08 67 5f ┆ the service. _ g_┆
0x0ba0…0bc0 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 20 72 65 61 64 73 ┆ e_ t_ s_ e_ r_ v_ e_ n_ t reads┆
0x0bc0…0be0 20 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 6f 66 20 74 68 65 20 66 69 6c 65 2c 20 6f 70 65 6e ┆ the next line of the file, open┆
0x0be0…0c00 69 6e 67 20 74 68 65 20 66 69 6c 65 0a 20 20 20 20 20 69 66 20 6e 65 63 65 73 73 61 72 79 2e 0a ┆ing the file if necessary. ┆
0x0c00…0c20 0a 20 20 20 20 20 5f 08 73 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 ┆ _ s_ e_ t_ s_ e_ r_ v_ e_ ┆
0x0c20…0c40 6e 5f 08 74 20 6f 70 65 6e 73 20 61 6e 64 20 72 65 77 69 6e 64 73 20 74 68 65 20 66 69 6c 65 2e ┆n_ t opens and rewinds the file.┆
0x0c40…0c60 20 20 49 66 20 74 68 65 20 5f 08 73 5f 08 74 5f 08 61 5f 08 79 5f 08 6f 5f 08 70 5f 08 65 5f 08 ┆ If the _ s_ t_ a_ y_ o_ p_ e_ ┆
0x0c60…0c80 6e 20 66 6c 61 67 0a 20 20 20 20 20 69 73 20 6e 6f 6e 2d 7a 65 72 6f 2c 20 74 68 65 20 6e 65 74 ┆n flag is non-zero, the net┆
0x0c80…0ca0 20 64 61 74 61 20 62 61 73 65 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 63 6c 6f 73 65 64 20 61 66 ┆ data base will not be closed af┆
0x0ca0…0cc0 74 65 72 20 65 61 63 68 0a 20 20 20 20 20 63 61 6c 6c 20 74 6f 20 5f 08 67 5f 08 65 5f 08 74 5f ┆ter each call to _ g_ e_ t_┆
0x0cc0…0ce0 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 20 28 65 69 74 68 65 72 20 64 69 72 ┆ s_ e_ r_ v_ e_ n_ t (either dir┆
0x0ce0…0d00 65 63 74 6c 79 2c 20 6f 72 20 20 69 6e 64 69 72 65 63 74 6c 79 20 20 74 68 72 6f 75 67 68 0a 20 ┆ectly, or indirectly through ┆
0x0d00…0d20 20 20 20 20 6f 6e 65 20 6f 66 20 74 68 65 20 6f 74 68 65 72 20 22 67 65 74 73 65 72 76 22 20 63 ┆ one of the other "getserv" c┆
0x0d20…0d40 61 6c 6c 73 29 2e 0a 0a 20 20 20 20 20 5f 08 65 5f 08 6e 5f 08 64 5f 08 73 5f 08 65 5f 08 72 5f ┆alls). _ e_ n_ d_ s_ e_ r_┆
0x0d40…0d60 08 76 5f 08 65 5f 08 6e 5f 08 74 20 63 6c 6f 73 65 73 20 74 68 65 20 66 69 6c 65 2e 0a 0a 20 20 ┆ v_ e_ n_ t closes the file. ┆
0x0d60…0d80 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 62 5f 08 79 5f 08 ┆ _ g_ e_ t_ s_ e_ r_ v_ b_ y_ ┆
0x0d80…0da0 6e 5f 08 61 5f 08 6d 5f 08 65 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 ┆n_ a_ m_ e and _ g_ e_ t_ s_ e_ ┆
0x0da0…0dc0 72 5f 08 76 5f 08 62 5f 08 79 5f 08 70 5f 08 6f 5f 08 72 5f 08 74 20 73 65 71 75 65 6e 74 69 61 ┆r_ v_ b_ y_ p_ o_ r_ t sequentia┆
0x0dc0…0de0 6c 6c 79 20 73 65 61 72 63 68 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 62 65 67 69 6e 6e 69 ┆lly search from the beginni┆
0x0de0…0e00 6e 67 20 20 6f 66 20 74 68 65 20 66 69 6c 65 20 75 6e 74 69 6c 20 61 20 6d 61 74 63 68 69 6e 67 ┆ng of the file until a matching┆
0x0e00…0e20 20 73 65 72 76 69 63 65 20 6e 61 6d 65 20 6f 72 20 70 6f 72 74 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 ┆ service name or port ┆
0x0e20…0e40 20 6e 75 6d 62 65 72 20 69 73 20 66 6f 75 6e 64 2c 20 6f 72 20 75 6e 74 69 6c 20 45 4f 46 20 69 ┆ number is found, or until EOF i┆
0x0e40…0e60 73 20 65 6e 63 6f 75 6e 74 65 72 65 64 2e 20 20 49 66 20 61 20 70 72 6f 74 6f 63 6f 6c 0a 20 20 ┆s encountered. If a protocol ┆
0x0e60…0e80 20 20 20 6e 61 6d 65 20 20 69 73 20 20 61 6c 73 6f 20 73 75 70 70 6c 69 65 64 20 28 6e 6f 6e 2d ┆ name is also supplied (non-┆
0x0e80…0ea0 4e 55 4c 4c 29 2c 20 73 65 61 72 63 68 65 73 20 6d 75 73 74 20 61 6c 73 6f 20 6d 61 74 63 68 0a ┆NULL), searches must also match ┆
0x0ea0…0ec0 20 20 20 20 20 74 68 65 20 70 72 6f 74 6f 63 6f 6c 2e 0a 0a 46 08 46 08 46 08 46 49 08 49 08 49 ┆ the protocol. F F F FI I I┆
0x0ec0…0ee0 08 49 4c 08 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 ┆ IL L L LE E E ES S S S /et┆
0x0ee0…0f00 63 2f 73 65 72 76 69 63 65 73 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 ┆c/services S S S SE E E EE E E ┆
0x0f00…0f20 45 20 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 ┆E A A A AL L L LS S S SO O O O ┆
0x0f20…0f40 20 20 20 20 4c 69 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 70 ┆ Library Functions (3): getp┆
0x0f40…0f60 72 6f 74 6f 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 20 ┆rotoent File Formats (5): ┆
0x0f60…0f80 73 65 72 76 69 63 65 73 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 ┆services D D D DI I I IA A A AG┆
0x0f80…0fa0 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 08 54 08 54 ┆ G G GN N N NO O O OS S S ST T T┆
0x0fa0…0fc0 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 4e 75 6c ┆ TI I I IC C C CS S S S Nul┆
0x0fc0…0fe0 6c 20 70 6f 69 6e 74 65 72 20 28 30 29 20 72 65 74 75 72 6e 65 64 20 6f 6e 20 45 4f 46 20 6f 72 ┆l pointer (0) returned on EOF or┆
0x0fe0…1000 20 65 72 72 6f 72 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 ┆ error. L L L LI I I IM M M MI ┆
0x1000…1020 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 49 08 49 08 49 08 ┆I I IT T T TA A A AT T T TI I I ┆
0x1020…1040 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 41 6c 6c 20 ┆IO O O ON N N NS S S S All ┆
0x1040…1060 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 20 73 74 ┆information is contained in a st┆
0x1060…1080 61 74 69 63 20 61 72 65 61 2c 20 73 6f 20 69 74 20 6d 75 73 74 20 62 65 0a 20 20 20 20 20 63 6f ┆atic area, so it must be co┆
0x1080…10a0 70 69 65 64 20 20 69 66 20 20 69 74 20 20 69 73 20 20 74 6f 20 62 65 20 73 61 76 65 64 2e 20 20 ┆pied if it is to be saved. ┆
0x10a0…10c0 4c 69 6d 69 74 69 6e 67 20 70 6f 72 74 20 6e 75 6d 62 65 72 73 20 74 6f 20 61 0a 20 20 20 20 20 ┆Limiting port numbers to a ┆
0x10c0…10e0 33 32 2d 62 69 74 20 71 75 61 6e 74 69 74 79 20 69 73 20 69 6e 73 75 66 66 69 63 69 65 6e 74 2e ┆32-bit quantity is insufficient.┆
0x10e0…1100 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ March 1989 ┆
0x1100…1120 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┆
0x1120…1140 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 ┆
0x1140…114c 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆