|
|
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: 4638 (0x121e)
Names: »stat.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat2/stat.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 20 20 73 74 61 74 28 32 29 0a 0a 0a 0a ┆s stat(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 74 61 74 2c 20 6c 73 74 61 74 2c 20 66 73 74 61 74 20 2d 20 67 65 74 20 66 69 6c 65 20 ┆ stat, lstat, fstat - get file ┆
0x00a0…00c0 73 74 61 74 75 73 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 54 ┆status S S S SY Y Y YN N N NT T┆
0x00c0…00e0 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 69 ┆ T TA A A AX X X X # # # #i┆
0x00e0…0100 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 75 ┆ i i in n n nc c c cl l l lu u u┆
0x0100…0120 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 79 ┆ ud d d de e e e < < < <s s s sy┆
0x0120…0140 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 79 ┆ y y ys s s s/ / / /t t t ty y y┆
0x0140…0160 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 08 ┆ yp p p pe e e es s s s. . . .h ┆
0x0160…0180 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 69 ┆h h h> > > > # # # #i i i i┆
0x0180…01a0 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 08 ┆n n n nc c c cl l l lu u u ud d ┆
0x01a0…01c0 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 79 ┆d de e e e < < < <s s s sy y y y┆
0x01c0…01e0 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 ┆s s s s/ / / /s s s st t t ta a ┆
0x01e0…0200 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a ┆a at t t t. . . .h h h h> > > > ┆
0x0200…0220 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 ┆ s s s st t t ta a a at t t┆
0x0220…0240 08 74 28 08 28 08 28 08 28 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 ┆ t( ( ( (p p p pa a a at t t th ┆
0x0240…0260 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 ┆h h h, , , , b b b bu u u uf f f┆
0x0260…0280 08 66 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 ┆ f) ) ) ) c c c ch h h ha a┆
0x0280…02a0 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 61 08 61 08 61 08 ┆ a ar r r r * * * *p p p pa a a ┆
0x02a0…02c0 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 ┆at t t th h h h; ; ; ; s s ┆
0x02c0…02e0 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┆
0x02e0…0300 08 74 08 74 08 74 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 ┆ t t t s s s st t t ta a a at t ┆
0x0300…0320 74 08 74 20 2a 08 2a 08 2a 08 2a 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 ┆t t * * * *b b b bu u u uf f f f┆
0x0320…0340 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 74 08 74 08 ┆; ; ; ; l l l ls s s st t ┆
0x0340…0360 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 28 08 28 08 28 08 28 70 08 70 08 70 08 70 61 ┆t ta a a at t t t( ( ( (p p p pa┆
0x0360…0380 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 62 08 62 08 ┆ a a at t t th h h h, , , , b b ┆
0x0380…03a0 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 ┆b bu u u uf f f f) ) ) ) c ┆
0x03a0…03c0 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 08 2a ┆c c ch h h ha a a ar r r r * * *┆
0x03c0…03e0 08 2a 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 3b 08 ┆ *p p p pa a a at t t th h h h; ┆
0x03e0…0400 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 08 72 08 72 08 72 ┆; ; ; s s s st t t tr r r r┆
0x0400…0420 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 74 08 74 ┆u u u uc c c ct t t t s s s st t┆
0x0420…0440 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 62 08 62 08 62 08 ┆ t ta a a at t t t * * * *b b b ┆
0x0440…0460 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 66 08 66 ┆bu u u uf f f f; ; ; ; f f┆
0x0460…0480 08 66 08 66 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 ┆ f fs s s st t t ta a a at t t t┆
0x0480…04a0 28 08 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 62 08 62 ┆( ( ( (f f f fd d d d, , , , b b┆
0x04a0…04c0 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 ┆ b bu u u uf f f f) ) ) ) i┆
0x04c0…04e0 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 66 08 66 08 66 08 66 64 08 64 08 ┆ i i in n n nt t t t f f f fd d ┆
0x04e0…0500 64 08 64 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 08 ┆d d; ; ; ; s s s st t t tr ┆
0x0500…0520 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 73 08 73 08 73 ┆r r ru u u uc c c ct t t t s s s┆
0x0520…0540 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 62 ┆ st t t ta a a at t t t * * * *b┆
0x0540…0560 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 ┆ b b bu u u uf f f f; ; ; ; D D┆
0x0560…0580 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 08 52 ┆ D DE E E ES S S SC C C CR R R R┆
0x0580…05a0 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 4f 08 ┆I I I IP P P PT T T TI I I IO O ┆
0x05a0…05c0 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 6f 62 74 ┆O ON N N N _ s_ t_ a_ t obt┆
0x05c0…05e0 61 69 6e 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 20 66 69 6c 65 20 ┆ains information about the file ┆
0x05e0…0600 5f 08 70 5f 08 61 5f 08 74 5f 08 68 2e 20 20 50 65 72 6d 69 73 73 69 6f 6e 20 74 6f 0a 20 20 20 ┆_ p_ a_ t_ h. Permission to ┆
0x0600…0620 20 20 72 65 61 64 2c 20 77 72 69 74 65 20 6f 72 20 65 78 65 63 75 74 65 20 74 68 65 20 6e 61 6d ┆ read, write or execute the nam┆
0x0620…0640 65 64 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 72 65 71 75 69 72 65 64 2c 20 62 75 74 0a 20 20 20 ┆ed file is not required, but ┆
0x0640…0660 20 20 61 6c 6c 20 64 69 72 65 63 74 6f 72 69 65 73 20 6c 69 73 74 65 64 20 69 6e 20 74 68 65 20 ┆ all directories listed in the ┆
0x0660…0680 70 61 74 68 20 6e 61 6d 65 20 6c 65 61 64 69 6e 67 20 74 6f 20 74 68 65 20 66 69 6c 65 0a 20 20 ┆path name leading to the file ┆
0x0680…06a0 20 20 20 6d 75 73 74 20 62 65 20 72 65 61 63 68 61 62 6c 65 2e 0a 0a 20 20 20 20 20 5f 08 6c 5f ┆ must be reachable. _ l_┆
0x06a0…06c0 08 73 5f 08 74 5f 08 61 5f 08 74 20 69 73 20 6c 69 6b 65 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 ┆ s_ t_ a_ t is like _ s_ t_ a_ t┆
0x06c0…06e0 20 75 6e 6c 65 73 73 20 74 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20 69 73 20 61 20 73 79 6d 62 ┆ unless the named file is a symb┆
0x06e0…0700 6f 6c 69 63 20 6c 69 6e 6b 0a 20 20 20 20 20 28 61 20 6d 6f 75 6e 74 2d 70 6f 69 6e 74 20 77 69 ┆olic link (a mount-point wi┆
0x0700…0720 74 68 20 61 20 6d 6f 75 6e 74 65 64 20 66 69 6c 65 2d 73 79 73 74 65 6d 29 2e 20 20 49 6e 20 74 ┆th a mounted file-system). In t┆
0x0720…0740 68 61 74 20 63 61 73 65 2c 0a 20 20 20 20 20 5f 08 6c 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 72 ┆hat case, _ l_ s_ t_ a_ t r┆
0x0740…0760 65 74 75 72 6e 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 20 6c 69 6e ┆eturns information about the lin┆
0x0760…0780 6b 20 28 74 68 65 20 6d 6f 75 6e 74 2d 70 6f 69 6e 74 29 2c 0a 20 20 20 20 20 77 68 69 6c 65 20 ┆k (the mount-point), while ┆
0x0780…07a0 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 72 65 74 75 72 6e 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e ┆_ s_ t_ a_ t returns information┆
0x07a0…07c0 20 61 62 6f 75 74 20 74 68 65 20 66 69 6c 65 20 72 65 66 65 72 65 6e 63 65 64 20 62 79 0a 20 20 ┆ about the file referenced by ┆
0x07c0…07e0 20 20 20 74 68 65 20 6c 69 6e 6b 20 28 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 6d 6f 75 6e 74 ┆ the link (the directory mount┆
0x07e0…0800 65 64 20 61 74 20 74 68 65 20 6d 6f 75 6e 74 2d 70 6f 69 6e 74 29 2e 0a 0a 20 20 20 20 20 5f 08 ┆ed at the mount-point). _ ┆
0x0800…0820 66 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 6f 62 74 61 69 6e 73 20 69 6e 66 6f 72 6d 61 74 69 6f ┆f_ s_ t_ a_ t obtains informatio┆
0x0820…0840 6e 20 61 62 6f 75 74 20 61 6e 20 61 6c 72 65 61 64 79 20 6f 70 65 6e 20 66 69 6c 65 20 28 72 65 ┆n about an already open file (re┆
0x0840…0860 66 65 72 2d 0a 20 20 20 20 20 65 6e 63 65 64 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 ┆fer- enced by the argument ┆
0x0860…0880 64 65 73 63 72 69 70 74 6f 72 29 2e 0a 0a 20 20 20 20 20 5f 08 62 5f 08 75 5f 08 66 20 69 73 20 ┆descriptor). _ b_ u_ f is ┆
0x0880…08a0 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 73 74 72 75 ┆a pointer to a _ s_ t_ a_ t stru┆
0x08a0…08c0 63 74 75 72 65 20 77 68 69 63 68 20 63 6f 6e 74 61 69 6e 73 20 66 69 6c 65 0a 20 20 20 20 20 69 ┆cture which contains file i┆
0x08c0…08e0 6e 66 6f 72 6d 61 74 69 6f 6e 2c 20 61 73 20 64 65 66 69 6e 65 64 20 69 6e 20 3c 08 3c 08 3c 08 ┆nformation, as defined in < < < ┆
0x08e0…0900 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 73 08 73 ┆<s s s sy y y ys s s s/ / / /s s┆
0x0900…0920 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e ┆ s st t t ta a a at t t t. . . .┆
0x0920…0940 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 2e 0a 0a 20 20 20 20 20 57 68 65 6e 20 5f 08 66 5f 08 ┆h h h h> > > >. When _ f_ ┆
0x0940…0960 64 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 20 70 69 70 65 2c 20 5f 08 66 ┆d is associated with a pipe, _ f┆
0x0960…0980 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 72 65 70 6f 72 74 73 20 61 6e 20 6f 72 64 69 6e 61 72 79 ┆_ s_ t_ a_ t reports an ordinary┆
0x0980…09a0 0a 20 20 20 20 20 66 69 6c 65 20 77 69 74 68 20 61 6e 20 69 2d 6e 6f 64 65 20 6e 75 6d 62 65 72 ┆ file with an i-node number┆
0x09a0…09c0 2c 20 72 65 73 74 72 69 63 74 65 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 61 6e 64 20 61 0a ┆, restricted permissions, and a ┆
0x09c0…09e0 20 20 20 20 20 6e 6f 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 6d 65 61 6e 69 6e 67 66 75 6c 20 ┆ not necessarily meaningful ┆
0x09e0…0a00 6c 65 6e 67 74 68 2e 0a 0a 20 20 20 20 20 54 68 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 ┆length. The < < < <s s s s┆
0x0a00…0a20 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 74 08 74 08 ┆y y y ys s s s/ / / /s s s st t ┆
0x0a20…0a40 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e ┆t ta a a at t t t. . . .h h h h>┆
0x0a40…0a60 08 3e 08 3e 08 3e 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 64 65 63 6c 61 72 61 ┆ > > > file contains the declara┆
0x0a60…0a80 74 69 6f 6e 20 6f 66 20 74 68 65 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 0a 20 20 20 20 20 73 74 ┆tion of the _ s_ t_ a_ t st┆
0x0a80…0aa0 72 75 63 74 75 72 65 2c 20 61 73 20 77 65 6c 6c 20 61 73 20 61 20 6e 75 6d 62 65 72 20 6f 66 20 ┆ructure, as well as a number of ┆
0x0aa0…0ac0 73 79 6d 62 6f 6c 69 63 20 63 6f 6e 73 74 61 6e 74 73 2c 20 75 73 65 66 75 6c 0a 20 20 20 20 20 ┆symbolic constants, useful ┆
0x0ac0…0ae0 66 6f 72 20 65 78 74 72 61 63 74 69 6e 67 20 73 70 65 63 69 66 69 63 20 69 6e 66 6f 72 6d 61 74 ┆for extracting specific informat┆
0x0ae0…0b00 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 66 69 65 6c 64 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 ┆ion from the fields in the ┆
0x0b00…0b20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 73 74 72 75 63 74 75 72 65 2e 20 20 54 68 65 20 66 69 65 ┆_ s_ t_ a_ t structure. The fie┆
0x0b20…0b40 6c 64 20 6d 6f 73 74 20 6f 66 74 65 6e 20 65 78 61 6d 69 6e 65 64 2c 20 5f 08 73 5f 08 74 5f 5f ┆ld most often examined, _ s_ t__┆
0x0b40…0b60 08 6d 5f 08 6f 5f 08 64 5f 08 65 2c 20 63 61 6e 0a 20 20 20 20 20 61 6c 73 6f 20 62 65 20 65 78 ┆ m_ o_ d_ e, can also be ex┆
0x0b60…0b80 61 6d 69 6e 65 64 20 62 79 20 6d 65 61 6e 73 20 6f 66 20 74 68 65 73 65 20 6d 61 63 72 6f 73 2c ┆amined by means of these macros,┆
0x0b80…0ba0 20 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 ┆ defined in < < < <s s s sy┆
0x0ba0…0bc0 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 74 08 74 08 74 ┆ y y ys s s s/ / / /s s s st t t┆
0x0bc0…0be0 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ ta a a at t t t. . . .h h h h> ┆
0x0be0…0c00 3e 08 3e 08 3e 3a 0a 0a 20 20 20 20 20 53 5f 49 53 42 4c 4b 28 29 20 20 20 20 20 20 74 65 73 74 ┆> > >: S_ISBLK() test┆
0x0c00…0c20 20 66 6f 72 20 61 20 62 6c 6f 63 6b 20 73 70 65 63 69 61 6c 20 66 69 6c 65 0a 0a 20 20 20 20 20 ┆ for a block special file ┆
0x0c20…0c40 53 5f 49 53 43 48 52 28 29 20 20 20 20 20 20 74 65 73 74 20 66 6f 72 20 61 20 63 68 61 72 61 63 ┆S_ISCHR() test for a charac┆
0x0c40…0c60 74 65 72 20 73 70 65 63 69 61 6c 20 66 69 6c 65 0a 0a 20 20 20 20 20 53 5f 49 53 44 49 52 28 29 ┆ter special file S_ISDIR()┆
0x0c60…0c80 20 20 20 20 20 20 74 65 73 74 20 66 6f 72 20 61 20 64 69 72 65 63 74 6f 72 79 0a 0a 20 20 20 20 ┆ test for a directory ┆
0x0c80…0ca0 20 53 5f 49 53 46 49 46 4f 28 29 20 20 20 20 20 74 65 73 74 20 66 6f 72 20 61 20 46 49 46 4f 20 ┆ S_ISFIFO() test for a FIFO ┆
0x0ca0…0cc0 72 65 67 75 6c 61 72 20 66 69 6c 65 0a 0a 20 20 20 20 20 53 5f 49 53 52 45 47 28 29 20 20 20 20 ┆regular file S_ISREG() ┆
0x0cc0…0ce0 20 20 74 65 73 74 20 66 6f 72 20 61 20 72 65 67 75 6c 61 72 20 66 69 6c 65 0a 0a 0a 0a 0a 0a 0a ┆ test for a regular file ┆
0x0ce0…0d00 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 ┆ R R R RE E E ET T T TU U U UR ┆
0x0d00…0d20 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c ┆R R RN N N N V V V VA A A AL L L┆
0x0d20…0d40 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 ┆ LU U U UE E E E Upon succe┆
0x0d40…0d60 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e 20 61 20 76 61 6c 75 65 20 6f 66 20 30 20 69 73 ┆ssful completion a value of 0 is┆
0x0d60…0d80 20 72 65 74 75 72 6e 65 64 2e 20 20 4f 74 68 65 72 2d 0a 20 20 20 20 20 77 69 73 65 2c 20 61 20 ┆ returned. Other- wise, a ┆
0x0d80…0da0 76 61 6c 75 65 20 6f 66 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f ┆value of -1 is returned and _ e_┆
0x0da0…0dc0 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65 0a 20 ┆ r_ r_ n_ o is set to indicate ┆
0x0dc0…0de0 20 20 20 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 ┆ the error. E E E ER R R RR ┆
0x0de0…0e00 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 ┆R R RO O O OR R R RS S S S ┆
0x0e00…0e20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 61 6e 64 20 5f 08 6c 5f 08 73 5f 08 74 5f 08 61 5f 08 74 ┆_ s_ t_ a_ t and _ l_ s_ t_ a_ t┆
0x0e20…0e40 20 66 61 69 6c 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c ┆ fail if one or more of the foll┆
0x0e40…0e60 6f 77 69 6e 67 20 61 72 65 0a 20 20 20 20 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 5b 45 41 43 43 ┆owing are true: [EACC┆
0x0e60…0e80 45 53 5d 20 20 20 20 20 20 20 53 65 61 72 63 68 20 70 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 64 ┆ES] Search permission is d┆
0x0e80…0ea0 65 6e 69 65 64 20 66 6f 72 20 61 20 63 6f 6d 70 6f 6e 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 ┆enied for a component ┆
0x0ea0…0ec0 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 70 61 74 68 20 70 72 65 66 69 78 2e 0a 0a 20 ┆ of the path prefix. ┆
0x0ec0…0ee0 20 20 20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 20 20 5f 08 62 5f 08 75 5f 08 66 20 6f 72 20 ┆ [EFAULT] _ b_ u_ f or ┆
0x0ee0…0f00 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 70 6f 69 6e 74 73 20 74 6f 20 61 6e 20 69 6e 76 61 6c 69 ┆_ n_ a_ m_ e points to an invali┆
0x0f00…0f20 64 20 61 64 64 72 65 73 73 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 45 4e 54 5d 20 20 20 20 20 20 20 ┆d address. [ENOENT] ┆
0x0f20…0f40 45 69 74 68 65 72 20 74 68 65 20 70 61 74 68 6e 61 6d 65 20 77 61 73 20 74 6f 6f 20 6c 6f 6e 67 ┆Either the pathname was too long┆
0x0f40…0f60 2c 20 6f 72 20 69 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 69 6e ┆, or it poin┆
0x0f60…0f80 74 73 20 74 6f 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 0a 0a 20 20 20 20 20 5b 45 4e ┆ts to an empty string. [EN┆
0x0f80…0fa0 4f 54 44 49 52 5d 20 20 20 20 20 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65 20 70 ┆OTDIR] A component of the p┆
0x0fa0…0fc0 61 74 68 20 70 72 65 66 69 78 20 69 73 20 6e 6f 74 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ath prefix is not a ┆
0x0fc0…0fe0 20 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 20 20 20 20 20 5b 45 4e 41 4d 45 54 ┆ directory. [ENAMET┆
0x0fe0…1000 4f 4f 4c 4f 4e 47 5d 20 54 68 65 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 5f 08 70 5f 08 61 ┆OOLONG] The length of the _ p_ a┆
0x1000…1020 5f 08 74 5f 08 68 20 61 72 67 75 6d 65 6e 74 20 65 78 63 65 65 64 73 0a 20 20 20 20 20 20 20 20 ┆_ t_ h argument exceeds ┆
0x1020…1040 20 20 20 20 20 20 20 20 20 20 20 20 7b 50 41 54 48 5f 4d 41 58 7d 20 6f 72 20 61 20 70 61 74 68 ┆ {PATH_MAX} or a path┆
0x1040…1060 6e 61 6d 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 73 20 6c 6f 6e 67 65 72 0a 20 20 20 20 20 20 20 ┆name component is longer ┆
0x1060…1080 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 6e 20 7b 4e 41 4d 45 5f 4d 41 58 7d 2e 0a 0a 20 ┆ than {NAME_MAX}. ┆
0x1080…10a0 20 20 20 20 5f 08 66 5f 08 73 5f 08 74 5f 08 61 5f 08 74 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 ┆ _ f_ s_ t_ a_ t will fail if┆
0x10a0…10c0 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 72 ┆ one or more of the following ar┆
0x10c0…10e0 65 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 5b 45 42 41 44 46 5d 20 20 20 20 20 20 20 20 5f 08 66 ┆e true: [EBADF] _ f┆
0x10e0…1100 5f 08 69 5f 08 6c 5f 08 64 5f 08 65 5f 08 73 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 6f ┆_ i_ l_ d_ e_ s is not a valid o┆
0x1100…1120 70 65 6e 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a 20 20 20 20 20 5b 45 46 41 55 ┆pen file descriptor. [EFAU┆
0x1120…1140 4c 54 5d 20 20 20 20 20 20 20 5f 08 62 5f 08 75 5f 08 66 20 70 6f 69 6e 74 73 20 74 6f 20 61 6e ┆LT] _ b_ u_ f points to an┆
0x1140…1160 20 69 6e 76 61 6c 69 64 20 61 64 64 72 65 73 73 2e 0a 0a 20 20 20 20 20 5b 45 4c 4f 4f 50 5d 20 ┆ invalid address. [ELOOP] ┆
0x1160…1180 20 20 20 20 20 20 20 54 6f 6f 20 6d 61 6e 79 20 73 79 6d 62 6f 6c 69 63 20 6c 69 6e 6b 73 20 77 ┆ Too many symbolic links w┆
0x1180…11a0 65 72 65 20 65 6e 63 6f 75 6e 74 65 72 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ere encountered in ┆
0x11a0…11c0 20 20 20 20 20 20 20 74 72 61 6e 73 6c 61 74 69 6e 67 20 74 68 65 20 70 61 74 68 6e 61 6d 65 2e ┆ translating the pathname.┆
0x11c0…11e0 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ December 1990 ┆
0x11e0…1200 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┆
0x1200…121e 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 ┆nce ┆