| rmdir(2) | System Calls Manual | rmdir(2) |
NAAM¶
rmdir - verwijder een map
BIBLIOTHEEK¶
Standard C bibliotheek (libc, -lc)
SAMENVATTING¶
#include <unistd.h>
int rmdir(const char *path);
BESCHRIJVING¶
rmdir() verwijderd een map, die leeg moet zijn.
EIND WAARDE¶
Bij succes wordt nul teruggegeven. Bij falen wordt -1 teruggegeven en wordt errno overeenkomstig gezet.
FOUTEN¶
- EACCES
- Write access to the directory containing path was not allowed, or one of the directories in the path prefix of path did not allow search permission. (See also path_resolution(7).)
- EBUSY
- path is currently in use by the system or some process that prevents its removal. On Linux, this means path is currently used as a mount point or is the root directory of the calling process.
- EFAULT
- pad wijst buiten door u toegankelijke adres ruimte.
- EINVAL
- path has . as last component.
- ELOOP
- Teveel symbolische koppelingen werden tegengekomen bij het vaststellen van pad.
- ENAMETOOLONG
- pad was te lang.
- ENOENT
- Een map deel van pad bestaat niet of is een loshangende symbolische koppeling.
- ENOMEM
- Onvoldoende kernelgeheugen voorhanden.
- ENOTDIR
- path, or a component used as a directory in path, is not, in fact, a directory.
- ENOTEMPTY
- path contains entries other than . and ..; or, path has .. as its final component. POSIX.1 also allows EEXIST for this condition.
- EPERM
- The directory containing path has the sticky bit (S_ISVTX) set and the process's effective user ID is neither the user ID of the file to be deleted nor that of the directory containing it, and the process is not privileged (Linux: does not have the CAP_FOWNER capability).
- EPERM
- The filesystem containing path does not support the removal of directories.
- EROFS
- path refers to a directory on a read-only filesystem.
VOLDOET AAN¶
POSIX.1-2008.
GESCHIEDENIS¶
POSIX.1-2001, SVr4, 4.3BSD.
BUGS¶
Ongelukkigheden in het protocol waar NFS op stoelt kunnen het onverwacht verdwijnen van mappen veroorzaken die nog steeds gebruikt worden.
ZIE OOK¶
rm(1), rmdir(1), chdir(2), chmod(2), mkdir(2), rename(2), unlink(2), unlinkat(2)
VERTALING¶
De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema <joshb@xs4all.nl>, Mario Blättermann <mario.blaettermann@gmail.com> en Luc Castermans <luc.castermans@gmail.com>
Deze vertaling is vrije documentatie; lees de GNU General Public License Version 3 of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID.
Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar debian-l10n-dutch@lists.debian.org.
| 17 mei 2025 | Linux man-pages (niet vrijgegeven) |