.\" -*- coding: UTF-8 -*- .\" This manpage is Copyright (C) 1992 Drew Eckhardt; .\" and Copyright (C) 1993 Michael Haardt, Ian Jackson. .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified 1993-07-24 by Rik Faith .\" Modified 1997-01-31 by Eric S. Raymond .\" Modified 2004-06-23 by Michael Kerrisk .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH rmdir 2 "2023년 3월 30일" "Linux man\-pages 6.05.01" .SH 이름 rmdir \- 디렉토리 삭제. .SH 라이브러리 표준 C 라이브러리 (\fIlibc\fP, \fI\-lc\fP) .SH 요약 .nf \fB#include \fP .PP \fBint rmdir(const char *\fP\fIpathname\fP\fB);\fP .fi .SH 설명 \fBrmdir\fP() 는 디렉토리(꼭 비어 있어야만한다.)를 삭제한다. .SH 반환값 On success, zero is returned. On error, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH 에러 .TP \fBEACCES\fP Write access to the directory containing \fIpathname\fP was not allowed, or one of the directories in the path prefix of \fIpathname\fP did not allow search permission. (See also \fBpath_resolution\fP(7).) .TP \fBEBUSY\fP \fIpathname\fP is currently in use by the system or some process that prevents its removal. On Linux, this means \fIpathname\fP is currently used as a mount point or is the root directory of the calling process. .TP \fBEFAULT\fP \fIpathname\fP 가 접근할수 있는 주소 공간외를 가리키고 있다. .TP \fBEINVAL\fP \fIpathname\fP has \fI.\fP as last component. .TP \fBELOOP\fP \fIpathname\fP 의 링크가 너무 많다. .TP \fBENAMETOOLONG\fP \fIpathname\fP이 너무 길다. .TP \fBENOENT\fP \fIpathname\fP 에 있는 디렉토리 요소가 존재하지 않거나 붙어다니는 상징 연결이다. .TP \fBENOMEM\fP 이용할수 있는 커널 메모리가 충분하지 않다. .TP \fBENOTDIR\fP \fIpathname\fP, 이나 \fIpathname\fP 의 디렉토리가 사실 디렉토리가 아니다. .TP \fBENOTEMPTY\fP .\" POSIX.1-2001, POSIX.1-2008 \fIpathname\fP contains entries other than \fI.\fP and \fI..\fP ; or, \fIpathname\fP has \&\fI..\fP as its final component. POSIX.1 also allows \fBEEXIST\fP for this condition. .TP \fBEPERM\fP The directory containing \fIpathname\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 \fIpathname\fP을 포함한 파일 시스템이 디렉토리 삭제를 지원하지 않는다. .TP \fBEROFS\fP \fIpathname\fP refers to a directory on a read\-only filesystem. .SH 표준 POSIX.1\-2008. .SH 이력 POSIX.1\-2001, SVr4, 4.3BSD. .SH 버그 NFS프로토콜의 부적적한 표현은 현재 쓰고 있는 디렉토리의 기대하지 않은 소실을 야기 할 수 있다. .SH "추가 참조" \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 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.