|
|
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: s
Length: 5438 (0x153e)
Names: »select.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/select.2«
└─⟦this⟧ »./usr/man/cat2/select.2«
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 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆ 0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 28 32 29 0a 0a 0a 0a ┆s select(2) ┆ 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 73 65 6c 65 63 74 20 2d 20 73 79 6e 63 68 72 6f 6e 6f 75 73 20 49 2f 4f 20 6d 75 6c 74 69 ┆ select - synchronous I/O multi┆ 0x00a0…00c0 70 6c 65 78 69 6e 67 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 4f 08 ┆plexing S S S SY Y Y YN N N NO ┆ 0x00c0…00e0 4f 08 4f 08 4f 50 08 50 08 50 08 50 53 08 53 08 53 08 53 49 08 49 08 49 08 49 53 08 53 08 53 08 ┆O O OP P P PS S S SI I I IS S S ┆ 0x00e0…0100 53 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 08 6e 63 08 63 08 ┆S # # # #i i i in n n nc c ┆ 0x0100…0120 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 65 08 65 08 65 20 ┆c cl l l lu u u ud d d de e e e ┆ 0x0120…0140 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 ┆< < < <s s s sy y y ys s s s/ / ┆ 0x0140…0160 2f 08 2f 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 73 ┆/ /t t t ty y y yp p p pe e e es┆ 0x0160…0180 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 ┆ s s s. . . .h h h h> > > > ┆ 0x0180…01a0 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 6c ┆ # # # #i i i in n n nc c c cl l┆ 0x01a0…01c0 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 08 ┆ l lu u u ud d d de e e e < < < ┆ 0x01c0…01e0 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 ┆<s s s sy y y ys s s s/ / / /t t┆ 0x01e0…0200 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2e 08 2e 08 2e 08 2e ┆ t ti i i im m m me e e e. . . .┆ 0x0200…0220 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 6e 08 6e 08 6e 08 6e 66 08 66 08 ┆h h h h> > > > n n n nf f ┆ 0x0220…0240 66 08 66 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 20 ┆f fo o o ou u u un n n nd d d d ┆ 0x0240…0260 3d 08 3d 08 3d 08 3d 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 65 08 65 ┆= = = = s s s se e e el l l le e┆ 0x0260…0280 08 65 08 65 63 08 63 08 63 08 63 74 08 74 08 74 08 74 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e ┆ e ec c c ct t t t( ( ( (n n n n┆ 0x0280…02a0 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 72 08 72 ┆f f f fd d d ds s s s, , , , r r┆ 0x02a0…02c0 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 64 08 64 08 64 66 08 66 08 66 08 66 ┆ r re e e ea a a ad d d df f f f┆ 0x02c0…02e0 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 77 08 77 08 77 08 77 72 08 72 ┆d d d ds s s s, , , , w w w wr r┆ 0x02e0…0300 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 66 08 66 08 66 08 66 ┆ r ri i i it t t te e e ef f f f┆ 0x0300…0320 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 65 08 65 08 65 08 65 78 08 78 ┆d d d ds s s s, , , , e e e ex x┆ 0x0320…0340 08 78 08 78 63 08 63 08 63 08 63 65 08 65 08 65 08 65 70 08 70 08 70 08 70 74 08 74 08 74 08 74 ┆ x xc c c ce e e ep p p pt t t t┆ 0x0340…0360 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 74 08 74 ┆f f f fd d d ds s s s, , , , t t┆ 0x0360…0380 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6f 08 6f 08 6f 08 6f ┆ t ti i i im m m me e e eo o o o┆ 0x0380…03a0 75 08 75 08 75 08 75 74 08 74 08 74 08 74 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 ┆u u u ut t t t) ) ) ) i i i┆ 0x03a0…03c0 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6e 08 6e 08 6e 08 6e 66 08 66 08 66 08 66 6f ┆ in n n nt t t t n n n nf f f fo┆ 0x03c0…03e0 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 2c 08 2c 08 2c ┆ o o ou u u un n n nd d d d, , ,┆ 0x03e0…0400 08 2c 20 6e 08 6e 08 6e 08 6e 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 3b ┆ , n n n nf f f fd d d ds s s s;┆ 0x0400…0420 08 3b 08 3b 08 3b 0a 20 20 20 20 20 66 08 66 08 66 08 66 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 ┆ ; ; ; f f f fd d d d_ _ _ ┆ 0x0420…0440 5f 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 72 08 ┆_s s s se e e et t t t * * * *r ┆ 0x0440…0460 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 64 08 64 08 64 66 08 66 08 66 08 ┆r r re e e ea a a ad d d df f f ┆ 0x0460…0480 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 77 08 ┆fd d d ds s s s, , , , * * * *w ┆ 0x0480…04a0 77 08 77 08 77 72 08 72 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 ┆w w wr r r ri i i it t t te e e ┆ 0x04a0…04c0 65 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 2a 08 ┆ef f f fd d d ds s s s, , , , * ┆ 0x04c0…04e0 2a 08 2a 08 2a 65 08 65 08 65 08 65 78 08 78 08 78 08 78 63 08 63 08 63 08 63 65 08 65 08 65 08 ┆* * *e e e ex x x xc c c ce e e ┆ 0x04e0…0500 65 70 08 70 08 70 08 70 74 08 74 08 74 08 74 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 ┆ep p p pt t t tf f f fd d d ds s┆ 0x0500…0520 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 ┆ s s; ; ; ; s s s st t t tr┆ 0x0520…0540 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 74 08 74 08 ┆ r r ru u u uc c c ct t t t t t ┆ 0x0540…0560 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 76 08 76 08 76 08 76 61 ┆t ti i i im m m me e e ev v v va┆ 0x0560…0580 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 20 2a 08 2a 08 2a 08 2a 74 08 74 08 74 08 74 69 08 69 08 ┆ a a al l l l * * * *t t t ti i ┆ 0x0580…05a0 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 74 ┆i im m m me e e eo o o ou u u ut┆ 0x05a0…05c0 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 46 08 46 08 46 08 46 44 08 44 08 44 ┆ t t t; ; ; ; F F F FD D D┆ 0x05c0…05e0 08 44 5f 08 5f 08 5f 08 5f 53 08 53 08 53 08 53 45 08 45 08 45 08 45 54 08 54 08 54 08 54 28 08 ┆ D_ _ _ _S S S SE E E ET T T T( ┆ 0x05e0…0600 28 08 28 08 28 66 08 66 08 66 08 66 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 26 08 26 08 26 ┆( ( (f f f fd d d d, , , , & & &┆ 0x0600…0620 08 26 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 ┆ &f f f fd d d ds s s se e e et ┆ 0x0620…0640 74 08 74 08 74 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 46 08 46 44 08 44 08 44 08 44 ┆t t t) ) ) ) F F F FD D D D┆ 0x0640…0660 5f 08 5f 08 5f 08 5f 43 08 43 08 43 08 43 4c 08 4c 08 4c 08 4c 52 08 52 08 52 08 52 28 08 28 08 ┆_ _ _ _C C C CL L L LR R R R( ( ┆ 0x0660…0680 28 08 28 66 08 66 08 66 08 66 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 26 08 26 08 26 08 26 ┆( (f f f fd d d d, , , , & & & &┆ 0x0680…06a0 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 ┆f f f fd d d ds s s se e e et t ┆ 0x06a0…06c0 74 08 74 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 46 08 46 44 08 44 08 44 08 44 5f 08 ┆t t) ) ) ) F F F FD D D D_ ┆ 0x06c0…06e0 5f 08 5f 08 5f 49 08 49 08 49 08 49 53 08 53 08 53 08 53 53 08 53 08 53 08 53 45 08 45 08 45 08 ┆_ _ _I I I IS S S SS S S SE E E ┆ 0x06e0…0700 45 54 08 54 08 54 08 54 28 08 28 08 28 08 28 66 08 66 08 66 08 66 64 08 64 08 64 08 64 2c 08 2c ┆ET T T T( ( ( (f f f fd d d d, ,┆ 0x0700…0720 08 2c 08 2c 20 26 08 26 08 26 08 26 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 ┆ , , & & & &f f f fd d d ds s s ┆ 0x0720…0740 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 ┆se e e et t t t) ) ) ) F F ┆ 0x0740…0760 46 08 46 44 08 44 08 44 08 44 5f 08 5f 08 5f 08 5f 5a 08 5a 08 5a 08 5a 45 08 45 08 45 08 45 52 ┆F FD D D D_ _ _ _Z Z Z ZE E E ER┆ 0x0760…0780 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 28 08 28 08 28 08 28 26 08 26 08 26 08 26 66 08 66 08 66 ┆ R R RO O O O( ( ( (& & & &f f f┆ 0x0780…07a0 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 29 08 ┆ fd d d ds s s se e e et t t t) ┆ 0x07a0…07c0 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 74 08 74 08 74 ┆) ) ) i i i in n n nt t t t┆ 0x07c0…07e0 20 66 08 66 08 66 08 66 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 66 08 66 08 ┆ f f f fd d d d; ; ; ; f f ┆ 0x07e0…0800 66 08 66 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 ┆f fd d d d_ _ _ _s s s se e e et┆ 0x0800…0820 08 74 08 74 08 74 20 66 08 66 08 66 08 66 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 ┆ t t t f f f fd d d ds s s se e ┆ 0x0820…0840 65 08 65 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 ┆e et t t t; ; ; ; D D D DE E E ┆ 0x0840…0860 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 49 08 49 50 08 50 ┆ES S S SC C C CR R R RI I I IP P┆ 0x0860…0880 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 08 4e 08 4e 08 4e ┆ P PT T T TI I I IO O O ON N N N┆ 0x0880…08a0 0a 20 20 20 20 20 5f 08 53 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 20 65 78 61 6d 69 6e 65 ┆ _ S_ e_ l_ e_ c_ t examine┆ 0x08a0…08c0 73 20 74 68 65 20 49 2f 4f 20 64 65 73 63 72 69 70 74 6f 72 20 73 65 74 73 20 77 68 6f 73 65 20 ┆s the I/O descriptor sets whose ┆ 0x08c0…08e0 61 64 64 72 65 73 73 65 73 20 61 72 65 0a 20 20 20 20 20 70 61 73 73 65 64 20 69 6e 20 5f 08 72 ┆addresses are passed in _ r┆ 0x08e0…0900 5f 08 65 5f 08 61 5f 08 64 5f 08 66 5f 08 64 5f 08 73 2c 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 ┆_ e_ a_ d_ f_ d_ s, _ w_ r_ i_ t┆ 0x0900…0920 5f 08 65 5f 08 66 5f 08 64 5f 08 73 2c 20 61 6e 64 20 5f 08 65 5f 08 78 5f 08 63 5f 08 65 5f 08 ┆_ e_ f_ d_ s, and _ e_ x_ c_ e_ ┆ 0x0920…0940 70 5f 08 74 5f 08 66 5f 08 64 5f 08 73 20 74 6f 20 73 65 65 20 69 66 20 73 6f 6d 65 20 6f 66 0a ┆p_ t_ f_ d_ s to see if some of ┆ 0x0940…0960 20 20 20 20 20 74 68 65 69 72 20 64 65 73 63 72 69 70 74 6f 72 73 20 61 72 65 20 72 65 61 64 79 ┆ their descriptors are ready┆ 0x0960…0980 20 66 6f 72 20 72 65 61 64 69 6e 67 2c 20 61 72 65 20 72 65 61 64 79 20 66 6f 72 20 77 72 69 74 ┆ for reading, are ready for writ┆ 0x0980…09a0 2d 0a 20 20 20 20 20 69 6e 67 2c 20 6f 72 20 68 61 76 65 20 61 6e 20 65 78 63 65 70 74 69 6f 6e ┆- ing, or have an exception┆ 0x09a0…09c0 61 6c 20 63 6f 6e 64 69 74 69 6f 6e 20 70 65 6e 64 69 6e 67 2c 20 72 65 73 70 65 63 74 69 76 65 ┆al condition pending, respective┆ 0x09c0…09e0 6c 79 2e 0a 20 20 20 20 20 54 68 65 20 66 69 72 73 74 20 5f 08 6e 5f 08 66 5f 08 64 5f 08 73 20 ┆ly. The first _ n_ f_ d_ s ┆ 0x09e0…0a00 64 65 73 63 72 69 70 74 6f 72 73 20 61 72 65 20 63 68 65 63 6b 65 64 20 69 6e 20 65 61 63 68 20 ┆descriptors are checked in each ┆ 0x0a00…0a20 73 65 74 3b 20 69 2e 65 2e 20 74 68 65 0a 20 20 20 20 20 64 65 73 63 72 69 70 74 6f 72 73 20 66 ┆set; i.e. the descriptors f┆ 0x0a20…0a40 72 6f 6d 20 30 20 74 68 72 6f 75 67 68 20 5f 08 6e 5f 08 66 5f 08 64 5f 08 73 2d 31 20 69 6e 20 ┆rom 0 through _ n_ f_ d_ s-1 in ┆ 0x0a40…0a60 74 68 65 20 64 65 73 63 72 69 70 74 6f 72 20 73 65 74 73 20 61 72 65 0a 20 20 20 20 20 65 78 61 ┆the descriptor sets are exa┆ 0x0a60…0a80 6d 69 6e 65 64 2e 20 20 4f 6e 20 72 65 74 75 72 6e 2c 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f ┆mined. On return, _ s_ e_ l_ e_┆ 0x0a80…0aa0 08 63 5f 08 74 20 72 65 70 6c 61 63 65 73 20 74 68 65 20 67 69 76 65 6e 20 64 65 73 63 72 69 70 ┆ c_ t replaces the given descrip┆ 0x0aa0…0ac0 74 6f 72 0a 20 20 20 20 20 73 65 74 73 20 77 69 74 68 20 73 75 62 73 65 74 73 20 63 6f 6e 73 69 ┆tor sets with subsets consi┆ 0x0ac0…0ae0 73 74 69 6e 67 20 6f 66 20 74 68 6f 73 65 20 64 65 73 63 72 69 70 74 6f 72 73 20 74 68 61 74 20 ┆sting of those descriptors that ┆ 0x0ae0…0b00 61 72 65 0a 20 20 20 20 20 72 65 61 64 79 20 66 6f 72 20 74 68 65 20 72 65 71 75 65 73 74 65 64 ┆are ready for the requested┆ 0x0b00…0b20 20 6f 70 65 72 61 74 69 6f 6e 2e 20 20 54 68 65 20 74 6f 74 61 6c 20 6e 75 6d 62 65 72 20 6f 66 ┆ operation. The total number of┆ 0x0b20…0b40 0a 20 20 20 20 20 72 65 61 64 79 20 64 65 73 63 72 69 70 74 6f 72 73 20 69 6e 20 61 6c 6c 20 74 ┆ ready descriptors in all t┆ 0x0b40…0b60 68 65 20 73 65 74 73 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 6e 20 5f 08 6e 5f 08 66 5f 08 6f ┆he sets is returned in _ n_ f_ o┆ 0x0b60…0b80 5f 08 75 5f 08 6e 5f 08 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 64 65 73 63 72 69 70 74 6f 72 20 ┆_ u_ n_ d. The descriptor ┆ 0x0b80…0ba0 73 65 74 73 20 61 72 65 20 73 74 6f 72 65 64 20 61 73 20 62 69 74 20 66 69 65 6c 64 73 20 69 6e ┆sets are stored as bit fields in┆ 0x0ba0…0bc0 20 61 72 72 61 79 73 20 6f 66 0a 20 20 20 20 20 69 6e 74 65 67 65 72 73 2e 20 20 54 68 65 20 66 ┆ arrays of integers. The f┆ 0x0bc0…0be0 6f 6c 6c 6f 77 69 6e 67 20 6d 61 63 72 6f 73 20 61 72 65 20 70 72 6f 76 69 64 65 64 20 66 6f 72 ┆ollowing macros are provided for┆ 0x0be0…0c00 20 6d 61 6e 69 70 75 6c 61 74 2d 0a 20 20 20 20 20 69 6e 67 20 73 75 63 68 20 64 65 73 63 72 69 ┆ manipulat- ing such descri┆ 0x0c00…0c20 70 74 6f 72 20 73 65 74 73 3a 20 5f 08 46 5f 08 44 5f 5f 08 5a 5f 08 45 5f 08 52 5f 08 4f 28 26 ┆ptor sets: _ F_ D__ Z_ E_ R_ O(&┆ 0x0c20…0c40 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 74 29 20 69 6e 69 74 69 61 6c 69 7a 65 73 20 61 0a 20 ┆_ f_ d_ s_ e_ t) initializes a ┆ 0x0c40…0c60 20 20 20 20 64 65 73 63 72 69 70 74 6f 72 20 73 65 74 20 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f ┆ descriptor set _ f_ d_ s_ e_┆ 0x0c60…0c80 08 74 20 74 6f 20 74 68 65 20 6e 75 6c 6c 20 73 65 74 2e 20 20 5f 08 46 5f 08 44 5f 5f 08 53 5f ┆ t to the null set. _ F_ D__ S_┆ 0x0c80…0ca0 08 45 5f 08 54 28 5f 08 66 5f 08 64 2c 20 26 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 74 29 0a ┆ E_ T(_ f_ d, &_ f_ d_ s_ e_ t) ┆ 0x0ca0…0cc0 20 20 20 20 20 69 6e 63 6c 75 64 65 73 20 61 20 70 61 72 74 69 63 75 6c 61 72 20 64 65 73 63 72 ┆ includes a particular descr┆ 0x0cc0…0ce0 69 70 74 6f 72 20 5f 08 66 5f 08 64 20 69 6e 20 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 74 2e ┆iptor _ f_ d in _ f_ d_ s_ e_ t.┆ 0x0ce0…0d00 20 20 5f 08 46 5f 08 44 5f 5f 08 43 5f 08 4c 5f 08 52 28 5f 08 66 5f 08 64 2c 0a 20 20 20 20 20 ┆ _ F_ D__ C_ L_ R(_ f_ d, ┆ 0x0d00…0d20 26 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 74 29 20 72 65 6d 6f 76 65 73 20 5f 08 66 5f 08 64 ┆&_ f_ d_ s_ e_ t) removes _ f_ d┆ 0x0d20…0d40 20 66 72 6f 6d 20 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 74 2e 20 20 5f 08 46 5f 08 44 5f 5f ┆ from _ f_ d_ s_ e_ t. _ F_ D__┆ 0x0d40…0d60 08 49 5f 08 53 5f 08 53 5f 08 45 5f 08 54 28 5f 08 66 5f 08 64 2c 20 26 5f 08 66 5f 08 64 5f 08 ┆ I_ S_ S_ E_ T(_ f_ d, &_ f_ d_ ┆ 0x0d60…0d80 73 5f 08 65 5f 08 74 29 20 69 73 0a 20 20 20 20 20 6e 6f 6e 7a 65 72 6f 20 69 66 20 5f 08 66 5f ┆s_ e_ t) is nonzero if _ f_┆ 0x0d80…0da0 08 64 20 69 73 20 61 20 6d 65 6d 62 65 72 20 6f 66 20 5f 08 66 5f 08 64 5f 08 73 5f 08 65 5f 08 ┆ d is a member of _ f_ d_ s_ e_ ┆ 0x0da0…0dc0 74 2c 20 7a 65 72 6f 20 6f 74 68 65 72 77 69 73 65 2e 20 20 54 68 65 0a 20 20 20 20 20 62 65 68 ┆t, zero otherwise. The beh┆ 0x0dc0…0de0 61 76 69 6f 72 20 6f 66 20 74 68 65 73 65 20 6d 61 63 72 6f 73 20 69 73 20 75 6e 64 65 66 69 6e ┆avior of these macros is undefin┆ 0x0de0…0e00 65 64 20 69 66 20 61 20 64 65 73 63 72 69 70 74 6f 72 20 76 61 6c 75 65 0a 20 20 20 20 20 69 73 ┆ed if a descriptor value is┆ 0x0e00…0e20 20 6c 65 73 73 20 74 68 61 6e 20 7a 65 72 6f 20 6f 72 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 ┆ less than zero or greater than ┆ 0x0e20…0e40 6f 72 20 65 71 75 61 6c 20 74 6f 20 5f 08 46 5f 08 44 5f 5f 08 53 5f 08 45 5f 08 54 5f 08 53 5f ┆or equal to _ F_ D__ S_ E_ T_ S_┆ 0x0e40…0e60 08 49 5f 08 5a 5f 08 45 2c 0a 20 20 20 20 20 77 68 69 63 68 20 69 73 20 6e 6f 72 6d 61 6c 6c 79 ┆ I_ Z_ E, which is normally┆ 0x0e60…0e80 20 61 74 20 6c 65 61 73 74 20 65 71 75 61 6c 20 74 6f 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e ┆ at least equal to the maximum n┆ 0x0e80…0ea0 75 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 64 65 73 63 72 69 70 74 6f 72 73 20 73 75 70 70 6f 72 ┆umber of descriptors suppor┆ 0x0ea0…0ec0 74 65 64 20 62 79 20 74 68 65 20 73 79 73 74 65 6d 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 74 5f ┆ted by the system. If _ t_┆ 0x0ec0…0ee0 08 69 5f 08 6d 5f 08 65 5f 08 6f 5f 08 75 5f 08 74 20 69 73 20 61 20 6e 6f 6e 2d 7a 65 72 6f 20 ┆ i_ m_ e_ o_ u_ t is a non-zero ┆ 0x0ee0…0f00 70 6f 69 6e 74 65 72 2c 20 69 74 20 73 70 65 63 69 66 69 65 73 20 61 20 6d 61 78 69 6d 75 6d 0a ┆pointer, it specifies a maximum ┆ 0x0f00…0f20 20 20 20 20 20 69 6e 74 65 72 76 61 6c 20 74 6f 20 77 61 69 74 20 66 6f 72 20 74 68 65 20 73 65 ┆ interval to wait for the se┆ 0x0f20…0f40 6c 65 63 74 69 6f 6e 20 74 6f 20 63 6f 6d 70 6c 65 74 65 2e 20 20 49 66 20 5f 08 74 5f 08 69 5f ┆lection to complete. If _ t_ i_┆ 0x0f40…0f60 08 6d 5f 08 65 5f 08 6f 5f 08 75 5f 08 74 0a 20 20 20 20 20 69 73 20 61 20 7a 65 72 6f 20 70 6f ┆ m_ e_ o_ u_ t is a zero po┆ 0x0f60…0f80 69 6e 74 65 72 2c 20 74 68 65 20 73 65 6c 65 63 74 20 62 6c 6f 63 6b 73 20 69 6e 64 65 66 69 6e ┆inter, the select blocks indefin┆ 0x0f80…0fa0 69 74 65 6c 79 2e 20 20 54 6f 0a 20 20 20 20 20 61 66 66 65 63 74 20 61 20 70 6f 6c 6c 2c 20 74 ┆itely. To affect a poll, t┆ 0x0fa0…0fc0 68 65 20 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 5f 08 6f 5f 08 75 5f 08 74 20 61 72 67 75 6d 65 6e ┆he _ t_ i_ m_ e_ o_ u_ t argumen┆ 0x0fc0…0fe0 74 20 73 68 6f 75 6c 64 20 62 65 20 6e 6f 6e 2d 7a 65 72 6f 2c 0a 20 20 20 20 20 70 6f 69 6e 74 ┆t should be non-zero, point┆ 0x0fe0…1000 69 6e 67 20 74 6f 20 61 20 7a 65 72 6f 2d 76 61 6c 75 65 64 20 74 69 6d 65 76 61 6c 20 73 74 72 ┆ing to a zero-valued timeval str┆ 0x1000…1020 75 63 74 75 72 65 2e 0a 0a 20 20 20 20 20 41 6e 79 20 6f 66 20 5f 08 72 5f 08 65 5f 08 61 5f 08 ┆ucture. Any of _ r_ e_ a_ ┆ 0x1020…1040 64 5f 08 66 5f 08 64 5f 08 73 2c 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 5f 08 66 5f 08 ┆d_ f_ d_ s, _ w_ r_ i_ t_ e_ f_ ┆ 0x1040…1060 64 5f 08 73 2c 20 61 6e 64 20 5f 08 65 5f 08 78 5f 08 63 5f 08 65 5f 08 70 5f 08 74 5f 08 66 5f ┆d_ s, and _ e_ x_ c_ e_ p_ t_ f_┆ 0x1060…1080 08 64 5f 08 73 20 6d 61 79 20 62 65 20 67 69 76 65 6e 20 61 73 20 7a 65 72 6f 0a 20 20 20 20 20 ┆ d_ s may be given as zero ┆ 0x1080…10a0 70 6f 69 6e 74 65 72 73 20 69 66 20 6e 6f 20 64 65 73 63 72 69 70 74 6f 72 73 20 61 72 65 20 6f ┆pointers if no descriptors are o┆ 0x10a0…10c0 66 20 69 6e 74 65 72 65 73 74 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 ┆f interest. R R R RE E E ET T T┆ 0x10c0…10e0 08 54 55 08 55 08 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 ┆ TU U U UR R R RN N N N V V V VA┆ 0x10e0…1100 08 41 08 41 08 41 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 ┆ A A AL L L LU U U UE E E E ┆ 0x1100…1120 20 5f 08 53 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 20 72 65 74 75 72 6e 73 20 74 68 65 20 ┆ _ S_ e_ l_ e_ c_ t returns the ┆ 0x1120…1140 6e 75 6d 62 65 72 20 6f 66 20 72 65 61 64 79 20 64 65 73 63 72 69 70 74 6f 72 73 20 74 68 61 74 ┆number of ready descriptors that┆ 0x1140…1160 20 61 72 65 20 63 6f 6e 2d 0a 20 20 20 20 20 74 61 69 6e 65 64 20 69 6e 20 74 68 65 20 64 65 73 ┆ are con- tained in the des┆ 0x1160…1180 63 72 69 70 74 6f 72 20 73 65 74 73 2c 20 6f 72 20 2d 31 20 69 66 20 61 6e 20 65 72 72 6f 72 20 ┆criptor sets, or -1 if an error ┆ 0x1180…11a0 6f 63 63 75 72 72 65 64 2e 0a 20 20 20 20 20 49 66 20 74 68 65 20 74 69 6d 65 20 6c 69 6d 69 74 ┆occurred. If the time limit┆ 0x11a0…11c0 20 65 78 70 69 72 65 73 20 74 68 65 6e 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 ┆ expires then _ s_ e_ l_ e_ c_ t┆ 0x11c0…11e0 20 72 65 74 75 72 6e 73 20 30 2e 20 20 49 66 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f ┆ returns 0. If _ s_ e_ l_ e_ c_┆ 0x11e0…1200 08 74 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 77 69 74 68 20 61 6e 20 65 72 72 6f 72 2c 20 69 ┆ t returns with an error, i┆ 0x1200…1220 6e 63 6c 75 64 69 6e 67 20 6f 6e 65 20 64 75 65 20 74 6f 20 61 6e 20 69 6e 74 65 72 72 75 70 74 ┆ncluding one due to an interrupt┆ 0x1220…1240 65 64 0a 20 20 20 20 20 63 61 6c 6c 2c 20 74 68 65 20 64 65 73 63 72 69 70 74 6f 72 20 73 65 74 ┆ed call, the descriptor set┆ 0x1240…1260 73 20 77 69 6c 6c 20 62 65 20 75 6e 6d 6f 64 69 66 69 65 64 2e 0a 0a 0a 0a 0a 0a 0a 0a 45 08 45 ┆s will be unmodified. E E┆ 0x1260…1280 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 ┆ E ER R R RR R R RO O O OR R R R┆ 0x1280…12a0 53 08 53 08 53 08 53 0a 20 20 20 20 20 41 6e 20 65 72 72 6f 72 20 72 65 74 75 72 6e 20 66 72 6f ┆S S S S An error return fro┆ 0x12a0…12c0 6d 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 20 69 6e 64 69 63 61 74 65 73 3a 0a ┆m _ s_ e_ l_ e_ c_ t indicates: ┆ 0x12c0…12e0 0a 20 20 20 20 20 5b 45 42 41 44 46 5d 20 20 20 20 20 20 20 20 4f 6e 65 20 6f 66 20 74 68 65 20 ┆ [EBADF] One of the ┆ 0x12e0…1300 64 65 73 63 72 69 70 74 6f 72 20 73 65 74 73 20 73 70 65 63 69 66 69 65 64 20 61 6e 0a 20 20 20 ┆descriptor sets specified an ┆ 0x1300…1320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 76 61 6c 69 64 20 64 65 73 63 72 69 70 ┆ invalid descrip┆ 0x1320…1340 74 6f 72 2e 0a 0a 20 20 20 20 20 5b 45 49 4e 54 52 5d 20 20 20 20 20 20 20 20 41 20 73 69 67 6e ┆tor. [EINTR] A sign┆ 0x1340…1360 61 6c 20 77 61 73 20 64 65 6c 69 76 65 72 65 64 20 62 65 66 6f 72 65 20 74 68 65 20 74 69 6d 65 ┆al was delivered before the time┆ 0x1360…1380 20 6c 69 6d 69 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 69 72 ┆ limit expir┆ 0x1380…13a0 65 64 20 61 6e 64 20 62 65 66 6f 72 65 20 61 6e 79 20 6f 66 20 74 68 65 20 73 65 6c 65 63 74 65 ┆ed and before any of the selecte┆ 0x13a0…13c0 64 20 65 76 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 63 63 ┆d events occ┆ 0x13c0…13e0 75 72 72 65 64 2e 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 54 68 65 20 ┆urred. [EINVAL] The ┆ 0x13e0…1400 73 70 65 63 69 66 69 65 64 20 74 69 6d 65 20 6c 69 6d 69 74 20 69 73 20 69 6e 76 61 6c 69 64 2e ┆specified time limit is invalid.┆ 0x1400…1420 20 20 4f 6e 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 73 ┆ One of its┆ 0x1420…1440 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 69 73 20 6e 65 67 61 74 69 76 65 20 6f 72 20 74 6f 6f 20 6c ┆ components is negative or too l┆ 0x1440…1460 61 72 67 65 2e 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 ┆arge. S S S SE E E EE E E E A A┆ 0x1460…1480 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 20 20 20 20 61 ┆ A AL L L LS S S SO O O O a┆ 0x1480…14a0 63 63 65 70 74 28 32 29 2c 20 63 6f 6e 6e 65 63 74 28 32 29 2c 20 72 65 61 64 28 32 29 2c 20 77 ┆ccept(2), connect(2), read(2), w┆ 0x14a0…14c0 72 69 74 65 28 32 29 2c 20 72 65 63 76 28 32 29 2c 20 73 65 6e 64 28 32 29 2c 0a 20 20 20 20 20 ┆rite(2), recv(2), send(2), ┆ 0x14c0…14e0 67 65 74 64 74 61 62 6c 65 73 69 7a 65 28 32 29 0a 0a 4a 75 6c 79 20 31 39 39 30 20 20 20 20 20 ┆getdtablesize(2) July 1990 ┆ 0x14e0…1500 20 20 20 20 20 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 ┆ TX Pro┆ 0x1500…1520 67 72 61 6d 6d 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 ┆grammer's Reference ┆ 0x1520…153e 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 ┆ ┆