DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: r

⟦38810e935⟧

    Length: 2211 (0x8a3)
    Names: »rmdir.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/rmdir.2« 

Default Hex Dump

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 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6d 64 69 72 28 32 29 0a 0a 0a 0a   ┆s                   rmdir(2)    ┆
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 72 6d 64 69 72 20 2d 20 72 65 6d 6f 76 65 20 61 20 64 69 72 65 63 74 6f 72 79 20 66 69 6c   ┆  rmdir - remove a directory fil┆
0x0a0…0c0 65 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 08 54 08 54 41   ┆e  S S S SY Y Y YN N N NT T T TA┆
0x0c0…0e0 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 72 08 72 08 72 08 72 6d 08 6d 08 6d 08   ┆ A A AX X X X      r r r rm m m ┆
0x0e0…100 6d 64 08 64 08 64 08 64 69 08 69 08 69 08 69 72 08 72 08 72 08 72 28 08 28 08 28 08 28 70 08 70   ┆md d d di i i ir r r r( ( ( (p p┆
0x100…120 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 29 08 29 08 29 08 29   ┆ p pa a a at t t th h h h) ) ) )┆
0x120…140 0a 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   ┆      c c c ch h h ha a a ar r r┆
0x140…160 08 72 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68   ┆ r * * * *p p p pa a a at t t th┆
0x160…180 08 68 08 68 08 68 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53   ┆ h h h; ; ; ;  D D D DE E E ES S┆
0x180…1a0 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 08 50 08 50   ┆ S SC C C CR R R RI I I IP P P P┆
0x1a0…1c0 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 0a 20 20 20   ┆T T T TI I I IO O O ON N N N    ┆
0x1c0…1e0 20 20 5f 08 72 5f 08 6d 5f 08 64 5f 08 69 5f 08 72 20 72 65 6d 6f 76 65 73 20 61 20 64 69 72 65   ┆  _ r_ m_ d_ i_ r removes a dire┆
0x1e0…200 63 74 6f 72 79 20 66 69 6c 65 20 77 68 6f 73 65 20 6e 61 6d 65 20 69 73 20 67 69 76 65 6e 20 62   ┆ctory file whose name is given b┆
0x200…220 79 20 5f 08 70 5f 08 61 5f 08 74 5f 08 68 2e 0a 20 20 20 20 20 54 68 65 20 64 69 72 65 63 74 6f   ┆y _ p_ a_ t_ h.      The directo┆
0x220…240 72 79 20 6d 75 73 74 20 6e 6f 74 20 68 61 76 65 20 61 6e 79 20 65 6e 74 72 69 65 73 20 6f 74 68   ┆ry must not have any entries oth┆
0x240…260 65 72 20 74 68 61 6e 20 22 2e 22 20 61 6e 64 0a 20 20 20 20 20 22 2e 2e 22 2e 0a 0a 52 08 52 08   ┆er than "." and      "..".  R R ┆
0x260…280 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 52 08 52 08 52 4e   ┆R RE E E ET T T TU U U UR R R RN┆
0x280…2a0 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 08 4c 55 08 55 08   ┆ N N N V V V VA A A AL L L LU U ┆
0x2a0…2c0 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 41 20 30 20 69 73 20 72 65 74 75 72 6e 65 64 20   ┆U UE E E E      A 0 is returned ┆
0x2c0…2e0 69 66 20 74 68 65 20 72 65 6d 6f 76 65 20 73 75 63 63 65 65 64 73 3b 20 6f 74 68 65 72 77 69 73   ┆if the remove succeeds; otherwis┆
0x2e0…300 65 20 61 20 2d 31 20 69 73 0a 20 20 20 20 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 61 6e 20 65   ┆e a -1 is      returned and an e┆
0x300…320 72 72 6f 72 20 63 6f 64 65 20 69 73 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 67 6c 6f 62 61   ┆rror code is stored in the globa┆
0x320…340 6c 20 6c 6f 63 61 74 69 6f 6e 0a 20 20 20 20 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 2e   ┆l location      _ e_ r_ r_ n_ o.┆
0x340…360 0a 0a 45 08 45 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   ┆  E E E ER R R RR R R RO O O OR ┆
0x360…380 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 6e 61 6d 65 64 20 66 69 6c 65   ┆R R RS S S S      The named file┆
0x380…3a0 20 69 73 20 72 65 6d 6f 76 65 64 20 75 6e 6c 65 73 73 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 6f   ┆ is removed unless one or more o┆
0x3a0…3c0 66 20 74 68 65 20 66 6f 6c 6c 6f 77 2d 0a 20 20 20 20 20 69 6e 67 20 61 72 65 20 74 72 75 65 3a   ┆f the follow-      ing are true:┆
0x3c0…3e0 0a 0a 20 20 20 20 20 5b 45 41 43 43 45 53 5d 20 20 20 20 20 20 20 45 69 74 68 65 72 20 61 20 63   ┆       [EACCES]       Either a c┆
0x3e0…400 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65 20 70 61 74 68 20 70 72 65 66 69 78 20 64 65 6e 69   ┆omponent of the path prefix deni┆
0x400…420 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 20 70 65   ┆es                     search pe┆
0x420…440 72 6d 69 73 73 69 6f 6e 2c 20 6f 72 20 77 72 69 74 65 20 70 65 72 6d 69 73 73 69 6f 6e 20 69 73   ┆rmission, or write permission is┆
0x440…460 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 6e 69 65 64 20 6f 6e 20 74   ┆                     denied on t┆
0x460…480 68 65 20 64 69 72 65 63 74 6f 72 79 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 6c 69 6e 6b   ┆he directory containing the link┆
0x480…4a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 20 62 65 20 72 65 6d 6f 76   ┆                     to be remov┆
0x4a0…4c0 65 64 2e 0a 0a 20 20 20 20 20 5b 45 42 55 53 59 5d 20 20 20 20 20 20 20 20 54 68 65 20 64 69 72   ┆ed.       [EBUSY]        The dir┆
0x4c0…4e0 65 63 74 6f 72 79 20 74 6f 20 62 65 20 72 65 6d 6f 76 65 64 20 69 73 20 74 68 65 20 6d 6f 75 6e   ┆ectory to be removed is the moun┆
0x4e0…500 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 74 20 66 6f 72 20   ┆t                     point for ┆
0x500…520 61 20 6d 6f 75 6e 74 65 64 20 66 69 6c 65 20 73 79 73 74 65 6d 2e 0a 0a 20 20 20 20 20 5b 45 46   ┆a mounted file system.       [EF┆
0x520…540 41 55 4c 54 5d 20 20 20 20 20 20 20 5f 08 50 5f 08 61 5f 08 74 5f 08 68 20 70 6f 69 6e 74 73 20   ┆AULT]       _ P_ a_ t_ h points ┆
0x540…560 6f 75 74 73 69 64 65 20 74 68 65 20 70 72 6f 63 65 73 73 27 73 20 61 6c 6c 6f 63 61 74 65 64 0a   ┆outside the process's allocated ┆
0x560…580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 72 65 73 73 20 73 70 61 63   ┆                    address spac┆
0x580…5a0 65 2e 0a 0a 20 20 20 20 20 5b 45 4c 4f 4f 50 5d 20 20 20 20 20 20 20 20 54 6f 6f 20 6d 61 6e 79   ┆e.       [ELOOP]        Too many┆
0x5a0…5c0 20 73 79 6d 62 6f 6c 69 63 20 6c 69 6e 6b 73 20 77 65 72 65 20 65 6e 63 6f 75 6e 74 65 72 65 64   ┆ symbolic links were encountered┆
0x5c0…5e0 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 61 6e 73 6c 61 74   ┆ in                     translat┆
0x5e0…600 69 6e 67 20 74 68 65 20 70 61 74 68 6e 61 6d 65 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 45 4e 54 5d   ┆ing the pathname.       [ENOENT]┆
0x600…620 20 20 20 20 20 20 20 45 69 74 68 65 72 20 74 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20 64 6f 65   ┆       Either the named file doe┆
0x620…640 73 20 6e 6f 74 20 65 78 69 73 74 2c 20 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆s not exist, or the             ┆
0x640…660 20 20 20 20 20 20 20 20 70 61 74 68 6e 61 6d 65 20 77 61 73 20 74 6f 6f 20 6c 6f 6e 67 2e 0a 0a   ┆        pathname was too long.  ┆
0x660…680 20 20 20 20 20 5b 45 4e 4f 54 44 49 52 5d 20 20 20 20 20 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20   ┆     [ENOTDIR]      A component ┆
0x680…6a0 6f 66 20 74 68 65 20 70 61 74 68 20 70 72 65 66 69 78 20 69 73 20 6e 6f 74 20 61 0a 20 20 20 20   ┆of the path prefix is not a     ┆
0x6a0…6c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 20 20 20 20   ┆                directory.      ┆
0x6c0…6e0 20 5b 45 4e 4f 54 45 4d 50 54 59 5d 20 20 20 20 54 68 65 20 6e 61 6d 65 64 20 64 69 72 65 63 74   ┆ [ENOTEMPTY]    The named direct┆
0x6e0…700 6f 72 79 20 63 6f 6e 74 61 69 6e 73 20 66 69 6c 65 73 20 6f 74 68 65 72 20 74 68 61 6e 0a 20 20   ┆ory contains files other than   ┆
0x700…720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 60 60 2e 27 27 20 61 6e 64 20 60 60 2e 2e   ┆                  ``.'' and ``..┆
0x720…740 27 27 20 69 6e 20 69 74 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 54   ┆'' in it.       [EPERM]        T┆
0x740…760 68 65 20 70 61 74 68 6e 61 6d 65 20 63 6f 6e 74 61 69 6e 73 20 61 20 63 68 61 72 61 63 74 65 72   ┆he pathname contains a character┆
0x760…780 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69   ┆ with the                     hi┆
0x780…7a0 67 68 2d 6f 72 64 65 72 20 62 69 74 20 73 65 74 2e 0a 0a 20 20 20 20 20 5b 45 52 4f 46 53 5d 20   ┆gh-order bit set.       [EROFS] ┆
0x7a0…7c0 20 20 20 20 20 20 20 54 68 65 20 64 69 72 65 63 74 6f 72 79 20 65 6e 74 72 79 20 74 6f 20 62 65   ┆       The directory entry to be┆
0x7c0…7e0 20 72 65 6d 6f 76 65 64 20 72 65 73 69 64 65 73 20 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆ removed resides on             ┆
0x7e0…800 20 20 20 20 20 20 20 20 61 20 72 65 61 64 2d 6f 6e 6c 79 20 66 69 6c 65 20 73 79 73 74 65 6d 2e   ┆        a read-only file system.┆
0x800…820 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 08 41 08 41 4c   ┆  S S S SE E E EE E E E A A A AL┆
0x820…840 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 53 79 73 74 65 6d   ┆ L L LS S S SO O O O      System┆
0x840…860 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 6d 6b 64 69 72 2c 20 75 6e 6c 69 6e 6b 0a 0a 4d 61 72 63   ┆ Calls (2):  mkdir, unlink  Marc┆
0x860…880 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 20 20 20 20 20 20   ┆h 1989                          ┆
0x880…8a0 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 6e 63 65 0a 0a 0a   ┆    TX Programmer's Reference   ┆
0x8a0…8a3 0a 0a 0a                                                                                          ┆   ┆