rmdir.html 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <html>
  2. <head>
  3. <title>rmdir</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>rmdir</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. rmdir - remove directory
  9. <h3>Synopsis</h3>
  10. /bin/rmdir <em>directory</em>
  11. <h3>Description</h3>
  12. rmdir removes the specified directory. The directory must be empty.
  13. <p>
  14. It is an error to attempt to remove the . or .. names in a directory,
  15. or to apply rmdir to a filesystem object that is not a directory.
  16. <p>
  17. <h3>Requirements</h3>
  18. rmdir uses the following system calls:
  19. <ul>
  20. <li> <A HREF=../syscall/rmdir.html>rmdir</A>
  21. <li> <A HREF=../syscall/write.html>write</A>
  22. <li> <A HREF=../syscall/_exit.html>_exit</A>
  23. </ul>
  24. rmdir should function properly once the file system assignment is
  25. completed.
  26. <h3>Restrictions</h3>
  27. <A HREF=../dev/emu.html>emufs</A> does not support rmdir. (This is
  28. intentional.)
  29. <h3>See Also</h3>
  30. <A HREF=mkdir.html>mkdir</A>, <A HREF=rm.html>rm</A>
  31. </body>
  32. </html>