.\" -*- coding: UTF-8 -*- .\" Copyright 1992, Drew Eckhardt .\" Copyright 1993, Ian Jackson .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH rmdir 2 "8 februari 2026" "Linux man\-paginas 6.17" .SH NAAM rmdir \- verwijder een map .SH BIBLIOTHEEK Standaard C bibliotheek (\fIlibc\fP, \fI\-lc\fP) .SH SAMENVATTING .nf \fB#include \fP .P \fBint rmdir(const char *\fP\fIpath\fP\fB);\fP .fi .SH BESCHRIJVING \fBrmdir\fP() verwijderd een map, die leeg moet zijn. .SH "EIND WAARDE" Bij succes wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt \fIerrno\fP overeenkomstig gezet. .SH FOUTEN .TP \fBEACCES\fP Write access to the directory containing \fIpath\fP was not allowed, or one of the directories in the path prefix of \fIpath\fP did not allow search permission. (See also \fBpath_resolution\fP(7).) .TP \fBEBUSY\fP \fIpath\fP is currently in use by the system or some process that prevents its removal. On Linux, this means \fIpath\fP is currently used as a mount point or is the root directory of the calling process. .TP \fBEFAULT\fP \fIpad\fP wijst buiten door u toegankelijke adres ruimte. .TP \fBEINVAL\fP \fIpath\fP has \fI.\fP as last component. .TP \fBELOOP\fP Teveel symbolische koppelingen werden tegengekomen bij het vaststellen van \fIpad\fP. .TP \fBENAMETOOLONG\fP \fIpad\fP was te lang. .TP \fBENOENT\fP Een map deel van \fIpad\fP bestaat niet of is een loshangende symbolische koppeling. .TP \fBENOMEM\fP Onvoldoende kernelgeheugen voorhanden. .TP \fBENOTDIR\fP \fIpath\fP, or a component used as a directory in \fIpath\fP, is not, in fact, a directory. .TP \fBENOTEMPTY\fP \fIpath\fP contains entries other than \fI.\fP and \fI..\fP; or, \fIpath\fP has \fI..\fP as its final component. POSIX.1 also allows \fBEEXIST\fP for this condition. .TP \fBEPERM\fP The directory containing \fIpath\fP has the sticky bit (\fBS_ISVTX\fP) 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 \fBCAP_FOWNER\fP capability). .TP \fBEPERM\fP The filesystem containing \fIpath\fP does not support the removal of directories. .TP \fBEROFS\fP \fIpath\fP refers to a directory on a read\-only filesystem. .SH STANDAARDEN POSIX.1\-2024. .SH HISTORIE POSIX.1\-2001, SVr4, 4.3BSD. .SH BUGS Ongelukkigheden in het protocol waar NFS op stoelt kunnen het onverwacht verdwijnen van mappen veroorzaken die nog steeds gebruikt worden. .SH "ZIE OOK" \fBrm\fP(1), \fBrmdir\fP(1), \fBchdir\fP(2), \fBchmod\fP(2), \fBmkdir\fP(2), \fBrename\fP(2), \fBunlink\fP(2), \fBunlinkat\fP(2) .PP .SH VERTALING De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema , Mario Blättermann en Luc Castermans . .PP Deze vertaling is vrije documentatie; lees de .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID. .PP Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar .MT debian-l10n-dutch@lists.debian.org .ME .