|
|
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: 3512 (0xdb8)
Names: »scandir.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/scandir.3«
└─⟦this⟧ »./usr/man/cat3/scandir.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 20 73 63 61 6e 64 69 72 28 33 29 0a 0a 0a 0a ┆ions scandir(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 73 63 61 6e 64 69 72 2c 20 61 6c 70 68 61 73 6f 72 74 20 2d 20 73 63 61 6e 20 61 20 64 69 ┆ scandir, alphasort - scan a di┆ 0x0a0…0c0 72 65 63 74 6f 72 79 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 ┆rectory S S S SY Y Y YN N N NT ┆ 0x0c0…0e0 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 ┆T T TA A A AX X X X # # # #┆ 0x0e0…100 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 ┆i i i in n n nc c c cl l l lu u ┆ 0x100…120 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 ┆u ud d d de e e e < < < <s s s s┆ 0x120…140 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 79 08 79 08 ┆y y y ys s s s/ / / /t t t ty y ┆ 0x140…160 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 ┆y yp p p pe e e es s s s. . . .h┆ 0x160…180 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 ┆ h h h> > > > # # # #i i i ┆ 0x180…1a0 69 6e 08 6e 08 6e 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 ┆in n n nc c c cl l l lu u u ud d┆ 0x1a0…1c0 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 ┆ d de e e e < < < <s s s sy y y ┆ 0x1c0…1e0 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 64 08 64 08 64 08 64 69 08 69 08 69 08 69 72 08 72 ┆ys s s s/ / / /d d d di i i ir r┆ 0x1e0…200 08 72 08 72 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 20 ┆ r r. . . .h h h h> > > > ┆ 0x200…220 73 08 73 08 73 08 73 63 08 63 08 63 08 63 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 64 08 64 08 ┆s s s sc c c ca a a an n n nd d ┆ 0x220…240 64 08 64 69 08 69 08 69 08 69 72 08 72 08 72 08 72 28 08 28 08 28 08 28 64 08 64 08 64 08 64 69 ┆d di i i ir r r r( ( ( (d d d di┆ 0x240…260 08 69 08 69 08 69 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d ┆ i i ir r r rn n n na a a am m m┆ 0x260…280 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d ┆ me e e e, , , , n n n na a a am┆ 0x280…2a0 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 73 08 73 08 73 ┆ m m me e e el l l li i i is s s┆ 0x2a0…2c0 08 73 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 6c ┆ st t t t, , , , s s s se e e el┆ 0x2c0…2e0 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 63 08 63 08 63 08 63 74 08 74 08 74 08 74 2c 08 2c 08 2c ┆ l l le e e ec c c ct t t t, , ,┆ 0x2e0…300 08 2c 20 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6d 08 6d 08 6d 08 6d 70 08 70 08 70 08 70 61 ┆ , c c c co o o om m m mp p p pa┆ 0x300…320 08 61 08 61 08 61 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 ┆ a a ar r r r) ) ) ) c c c ┆ 0x320…340 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 64 08 ┆ch h h ha a a ar r r r * * * *d ┆ 0x340…360 64 08 64 08 64 69 08 69 08 69 08 69 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 ┆d d di i i ir r r rn n n na a a ┆ 0x360…380 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 ┆am m m me e e e; ; ; ; s s ┆ 0x380…3a0 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 63 08 63 74 ┆s st t t tr r r ru u u uc c c ct┆ 0x3a0…3c0 08 74 08 74 08 74 20 64 08 64 08 64 08 64 69 08 69 08 69 08 69 72 08 72 08 72 08 72 65 08 65 08 ┆ t t t d d d di i i ir r r re e ┆ 0x3c0…3e0 65 08 65 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 28 08 28 08 28 08 28 ┆e ec c c ct t t t * * * *( ( ( (┆ 0x3e0…400 2a 08 2a 08 2a 08 2a 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 ┆* * * ** * * *n n n na a a am m ┆ 0x400…420 6d 08 6d 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 73 08 73 08 73 08 73 74 ┆m me e e el l l li i i is s s st┆ 0x420…440 08 74 08 74 08 74 5b 08 5b 08 5b 08 5b 5d 08 5d 08 5d 08 5d 29 08 29 08 29 08 29 3b 08 3b 08 3b ┆ t t t[ [ [ [] ] ] ]) ) ) ); ; ;┆ 0x440…460 08 3b 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 28 08 ┆ ; i i i in n n nt t t t ( ┆ 0x460…480 28 08 28 08 28 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 ┆( ( (* * * *s s s se e e el l l ┆ 0x480…4a0 6c 65 08 65 08 65 08 65 63 08 63 08 63 08 63 74 08 74 08 74 08 74 29 08 29 08 29 08 29 28 08 28 ┆le e e ec c c ct t t t) ) ) )( (┆ 0x4a0…4c0 08 28 08 28 29 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e ┆ ( () ) ) ); ; ; ; i i i in┆ 0x4c0…4e0 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 28 08 28 08 28 08 28 2a 08 2a 08 2a 08 2a 63 08 63 08 ┆ n n nt t t t ( ( ( (* * * *c c ┆ 0x4e0…500 63 08 63 6f 08 6f 08 6f 08 6f 6d 08 6d 08 6d 08 6d 70 08 70 08 70 08 70 61 08 61 08 61 08 61 72 ┆c co o o om m m mp p p pa a a ar┆ 0x500…520 08 72 08 72 08 72 29 08 29 08 29 08 29 28 08 28 08 28 08 28 29 08 29 08 29 08 29 3b 08 3b 08 3b ┆ r r r) ) ) )( ( ( () ) ) ); ; ;┆ 0x520…540 08 3b 0a 0a 20 20 20 20 20 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 70 08 70 08 70 08 70 68 08 ┆ ; a a a al l l lp p p ph ┆ 0x540…560 68 08 68 08 68 61 08 61 08 61 08 61 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 ┆h h ha a a as s s so o o or r r ┆ 0x560…580 72 74 08 74 08 74 08 74 28 08 28 08 28 08 28 64 08 64 08 64 08 64 31 08 31 08 31 08 31 2c 08 2c ┆rt t t t( ( ( (d d d d1 1 1 1, ,┆ 0x580…5a0 08 2c 08 2c 20 64 08 64 08 64 08 64 32 08 32 08 32 08 32 29 08 29 08 29 08 29 0a 20 20 20 20 20 ┆ , , d d d d2 2 2 2) ) ) ) ┆ 0x5a0…5c0 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 ┆ 0x5c0…5e0 63 08 63 74 08 74 08 74 08 74 20 64 08 64 08 64 08 64 69 08 69 08 69 08 69 72 08 72 08 72 08 72 ┆c ct t t t d d d di i i ir r r r┆ 0x5e0…600 65 08 65 08 65 08 65 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 2a 08 2a ┆e e e ec c c ct t t t * * * ** *┆ 0x600…620 08 2a 08 2a 64 08 64 08 64 08 64 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 ┆ * *d d d d1 1 1 1, , , , * * * ┆ 0x620…640 2a 2a 08 2a 08 2a 08 2a 64 08 64 08 64 08 64 32 08 32 08 32 08 32 3b 08 3b 08 3b 08 3b 0a 0a 44 ┆** * * *d d d d2 2 2 2; ; ; ; D┆ 0x640…660 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 43 52 08 52 08 52 ┆ D D DE E E ES S S SC C C CR R R┆ 0x660…680 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 08 49 08 49 4f 08 ┆ RI I I IP P P PT T T TI I I IO ┆ 0x680…6a0 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 73 5f 08 63 5f 08 61 5f 08 6e 5f 08 ┆O O ON N N N _ s_ c_ a_ n_ ┆ 0x6a0…6c0 64 5f 08 69 5f 08 72 20 72 65 61 64 73 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 5f 08 64 5f ┆d_ i_ r reads the directory _ d_┆ 0x6c0…6e0 08 69 5f 08 72 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 61 6e 64 20 62 75 69 6c 64 73 20 61 6e 20 ┆ i_ r_ n_ a_ m_ e and builds an ┆ 0x6e0…700 61 72 72 61 79 20 6f 66 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 64 69 72 65 63 74 ┆array of pointers to direct┆ 0x700…720 6f 72 79 20 65 6e 74 72 69 65 73 20 75 73 69 6e 67 20 74 68 65 20 5f 08 6d 5f 08 61 5f 08 6c 5f ┆ory entries using the _ m_ a_ l_┆ 0x720…740 08 6c 5f 08 6f 5f 08 63 20 6c 69 62 72 61 72 79 20 66 75 6e 63 2d 0a 20 20 20 20 20 74 69 6f 6e ┆ l_ o_ c library func- tion┆ 0x740…760 2e 20 20 49 74 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 65 6e 74 72 ┆. It returns the number of entr┆ 0x760…780 69 65 73 20 69 6e 20 74 68 65 20 61 72 72 61 79 20 61 6e 64 20 61 0a 20 20 20 20 20 70 6f 69 6e ┆ies in the array and a poin┆ 0x780…7a0 74 65 72 20 74 6f 20 74 68 65 20 61 72 72 61 79 20 74 68 72 6f 75 67 68 20 5f 08 6e 5f 08 61 5f ┆ter to the array through _ n_ a_┆ 0x7a0…7c0 08 6d 5f 08 65 5f 08 6c 5f 08 69 5f 08 73 5f 08 74 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 6e ┆ m_ e_ l_ i_ s_ t. The _ n┆ 0x7c0…7e0 5f 08 61 5f 08 6d 5f 08 65 5f 08 6c 5f 08 69 5f 08 73 5f 08 74 20 61 72 67 75 6d 65 6e 74 20 63 ┆_ a_ m_ e_ l_ i_ s_ t argument c┆ 0x7e0…800 61 6e 20 62 65 20 73 70 65 63 69 66 69 65 64 20 73 69 6d 70 6c 79 20 61 73 20 66 6f 6c 6c 6f 77 ┆an be specified simply as follow┆ 0x800…820 73 3a 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 20 64 69 72 65 63 74 20 2a 28 2a 2a 6e ┆s: struct direct *(**n┆ 0x820…840 61 6d 65 6c 69 73 74 29 20 5b 20 5d 3b 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 73 5f 08 65 5f 08 ┆amelist) [ ]; The _ s_ e_ ┆ 0x840…860 6c 5f 08 65 5f 08 63 5f 08 74 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 61 20 70 6f 69 6e 74 65 ┆l_ e_ c_ t parameter is a pointe┆ 0x860…880 72 20 74 6f 20 61 20 75 73 65 72 20 73 75 70 70 6c 69 65 64 20 73 75 62 72 6f 75 2d 0a 20 20 20 ┆r to a user supplied subrou- ┆ 0x880…8a0 20 20 74 69 6e 65 20 77 68 69 63 68 20 69 73 20 63 61 6c 6c 65 64 20 62 79 20 5f 08 73 5f 08 63 ┆ tine which is called by _ s_ c┆ 0x8a0…8c0 5f 08 61 5f 08 6e 5f 08 64 5f 08 69 5f 08 72 20 74 6f 20 73 65 6c 65 63 74 20 77 68 69 63 68 20 ┆_ a_ n_ d_ i_ r to select which ┆ 0x8c0…8e0 65 6e 74 72 69 65 73 20 61 72 65 0a 20 20 20 20 20 74 6f 20 62 65 20 69 6e 63 6c 75 64 65 64 20 ┆entries are to be included ┆ 0x8e0…900 69 6e 20 74 68 65 20 61 72 72 61 79 2e 20 20 54 68 65 20 73 65 6c 65 63 74 20 72 6f 75 74 69 6e ┆in the array. The select routin┆ 0x900…920 65 20 69 73 20 70 61 73 73 65 64 20 61 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 ┆e is passed a pointer to a ┆ 0x920…940 64 69 72 65 63 74 6f 72 79 20 65 6e 74 72 79 20 61 6e 64 20 73 68 6f 75 6c 64 20 72 65 74 75 72 ┆directory entry and should retur┆ 0x940…960 6e 20 61 20 6e 6f 6e 2d 7a 65 72 6f 0a 20 20 20 20 20 76 61 6c 75 65 20 69 66 20 74 68 65 20 64 ┆n a non-zero value if the d┆ 0x960…980 69 72 65 63 74 6f 72 79 20 65 6e 74 72 79 20 69 73 20 74 6f 20 62 65 20 69 6e 63 6c 75 64 65 64 ┆irectory entry is to be included┆ 0x980…9a0 20 69 6e 20 74 68 65 20 61 72 72 61 79 2e 0a 20 20 20 20 20 49 66 20 5f 08 73 5f 08 65 5f 08 6c ┆ in the array. If _ s_ e_ l┆ 0x9a0…9c0 5f 08 65 5f 08 63 5f 08 74 20 69 73 20 6e 75 6c 6c 2c 20 74 68 65 6e 20 61 6c 6c 20 74 68 65 20 ┆_ e_ c_ t is null, then all the ┆ 0x9c0…9e0 64 69 72 65 63 74 6f 72 79 20 65 6e 74 72 69 65 73 20 77 69 6c 6c 20 62 65 0a 20 20 20 20 20 69 ┆directory entries will be i┆ 0x9e0…a00 6e 63 6c 75 64 65 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 63 5f 08 6f 5f 08 6d 5f 08 70 5f ┆ncluded. The _ c_ o_ m_ p_┆ 0xa00…a20 08 61 5f 08 72 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 ┆ a_ r parameter is a pointer to ┆ 0xa20…a40 61 20 75 73 65 72 20 73 75 70 70 6c 69 65 64 20 73 75 62 72 6f 75 2d 0a 20 20 20 20 20 74 69 6e ┆a user supplied subrou- tin┆ 0xa40…a60 65 20 77 68 69 63 68 20 69 73 20 70 61 73 73 65 64 20 74 6f 20 5f 08 71 5f 08 73 5f 08 6f 5f 08 ┆e which is passed to _ q_ s_ o_ ┆ 0xa60…a80 72 5f 08 74 28 33 29 20 74 6f 20 73 6f 72 74 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 64 0a 20 20 ┆r_ t(3) to sort the completed ┆ 0xa80…aa0 20 20 20 61 72 72 61 79 2e 20 49 66 20 74 68 69 73 20 70 6f 69 6e 74 65 72 20 69 73 20 6e 75 6c ┆ array. If this pointer is nul┆ 0xaa0…ac0 6c 2c 20 74 68 65 20 61 72 72 61 79 20 69 73 20 6e 6f 74 20 73 6f 72 74 65 64 2e 0a 20 20 20 20 ┆l, the array is not sorted. ┆ 0xac0…ae0 20 5f 08 41 5f 08 6c 5f 08 70 5f 08 68 5f 08 61 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 69 73 20 ┆ _ A_ l_ p_ h_ a_ s_ o_ r_ t is ┆ 0xae0…b00 61 20 72 6f 75 74 69 6e 65 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 75 73 65 64 20 66 6f 72 20 ┆a routine which can be used for ┆ 0xb00…b20 74 68 65 20 5f 08 63 5f 08 6f 5f 08 6d 5f 08 70 5f 08 61 5f 08 72 0a 20 20 20 20 20 70 61 72 61 ┆the _ c_ o_ m_ p_ a_ r para┆ 0xb20…b40 6d 65 74 65 72 20 74 6f 20 73 6f 72 74 20 74 68 65 20 61 72 72 61 79 20 61 6c 70 68 61 62 65 74 ┆meter to sort the array alphabet┆ 0xb40…b60 69 63 61 6c 6c 79 2e 0a 0a 20 20 20 20 20 54 68 65 20 6d 65 6d 6f 72 79 20 61 6c 6c 6f 63 61 74 ┆ically. The memory allocat┆ 0xb60…b80 65 64 20 66 6f 72 20 74 68 65 20 61 72 72 61 79 20 63 61 6e 20 62 65 20 64 65 61 6c 6c 6f 63 61 ┆ed for the array can be dealloca┆ 0xb80…ba0 74 65 64 20 77 69 74 68 0a 20 20 20 20 20 5f 08 66 5f 08 72 5f 08 65 5f 08 65 20 28 73 65 65 20 ┆ted with _ f_ r_ e_ e (see ┆ 0xba0…bc0 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 28 33 29 29 20 62 79 20 66 72 65 65 69 6e ┆_ m_ a_ l_ l_ o_ c(3)) by freein┆ 0xbc0…be0 67 20 65 61 63 68 20 70 6f 69 6e 74 65 72 20 69 6e 20 74 68 65 20 61 72 72 61 79 0a 20 20 20 20 ┆g each pointer in the array ┆ 0xbe0…c00 20 61 6e 64 20 74 68 65 20 61 72 72 61 79 20 69 74 73 65 6c 66 2e 0a 0a 53 08 53 08 53 08 53 45 ┆ and the array itself. S S S SE┆ 0xc00…c20 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 08 53 08 ┆ E E EE E E E A A A AL L L LS S ┆ 0xc20…c40 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e ┆S SO O O O Library Function┆ 0xc40…c60 73 20 28 33 29 3a 20 20 64 69 72 65 63 74 6f 72 79 2c 20 6d 61 6c 6c 6f 63 2c 20 71 73 6f 72 74 ┆s (3): directory, malloc, qsort┆ 0xc60…c80 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 64 69 72 0a 0a 44 08 ┆ File Formats (5): dir D ┆ 0xc80…ca0 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 ┆D D DI I I IA A A AG G G GN N N ┆ 0xca0…cc0 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 ┆NO O O OS S S ST T T TI I I IC C┆ 0xcc0…ce0 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 52 65 74 75 72 6e 73 20 2d 31 20 69 66 20 74 ┆ C CS S S S Returns -1 if t┆ 0xce0…d00 68 65 20 64 69 72 65 63 74 6f 72 79 20 63 61 6e 6e 6f 74 20 62 65 20 6f 70 65 6e 65 64 20 66 6f ┆he directory cannot be opened fo┆ 0xd00…d20 72 20 72 65 61 64 69 6e 67 20 6f 72 0a 20 20 20 20 20 69 66 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 ┆r reading or if _ m_ a_ l_ ┆ 0xd20…d40 6c 5f 08 6f 5f 08 63 28 33 29 20 63 61 6e 6e 6f 74 20 61 6c 6c 6f 63 61 74 65 20 65 6e 6f 75 67 ┆l_ o_ c(3) cannot allocate enoug┆ 0xd40…d60 68 20 6d 65 6d 6f 72 79 20 74 6f 20 68 6f 6c 64 20 61 6c 6c 20 74 68 65 0a 20 20 20 20 20 64 61 ┆h memory to hold all the da┆ 0xd60…d80 74 61 20 73 74 72 75 63 74 75 72 65 73 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 ┆ta structures. March 1989 ┆ 0xd80…da0 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 67 72 ┆ TX Progr┆ 0xda0…db8 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a ┆ammer's Reference ┆