Man page - rmdir(2)

Packages contains this manual

Available languages:

en fr pt_BR es pl ko nl ja ru ro de

Manual

rmdir

이 름
라 이 브 러 리
μš” μ•½
μ„€ λͺ…
반 ν™˜ κ°’
에 러
ν‘œ μ€€
이 λ ₯
버 κ·Έ
μΆ” κ°€ μ°Έ μ‘°
번 μ—­

이 름

rmdir - λ”” λ ‰ ν†  리 μ‚­ 제 .

라 이 브 러 리

ν‘œ μ€€ C 라 이 브 러 리 ( libc , -lc )

μš” μ•½

#include <unistd.h>

int rmdir(const char * pathname );

μ„€ λͺ…

rmdir () λŠ” λ”” λ ‰ ν†  리 (κΌ­ λΉ„ μ–΄ 있 μ–΄ μ•Ό 만 ν•œ λ‹€ .)λ₯Ό μ‚­ 제 ν•œ λ‹€ .

반 ν™˜ κ°’

On success, zero is returned. On error, -1 is returned, and errno is set to indicate the error.

에 러

EACCES

Write access to the directory containing pathname was not allowed, or one of the directories in the path prefix of pathname did not allow search permission. (See also path_resolution (7).)

EBUSY

pathname is currently in use by the system or some process that prevents its removal. On Linux, this means pathname is currently used as a mount point or is the root directory of the calling process.

EFAULT

pathname κ°€ μ ‘ κ·Ό ν•  수 있 λŠ” μ£Ό μ†Œ 곡 κ°„ μ™Έ λ₯Ό κ°€ 리 ν‚€ κ³  있 λ‹€ .

EINVAL

pathname has . as last component.

ELOOP

pathname 의 링 크 κ°€ λ„ˆ 무 많 λ‹€ .

ENAMETOOLONG

pathname 이 λ„ˆ 무 κΈΈ λ‹€ .

ENOENT

pathname 에 있 λŠ” λ”” λ ‰ ν†  리 μš” μ†Œ κ°€ μ‘΄ 재 ν•˜ μ§€ μ•Š κ±° λ‚˜ λΆ™ μ–΄ λ‹€ λ‹ˆ λŠ” 상 μ§• μ—° κ²° 이 λ‹€ .

ENOMEM

이 용 ν•  수 있 λŠ” 컀 널 λ©” λͺ¨ 리 κ°€ μΆ© λΆ„ ν•˜ μ§€ μ•Š λ‹€ .

ENOTDIR

pathname , 이 λ‚˜ pathname 의 λ”” λ ‰ ν†  리 κ°€ 사 μ‹€ λ”” λ ‰ ν†  리 κ°€ μ•„ λ‹ˆ λ‹€ .

ENOTEMPTY

pathname contains entries other than . and .. ; or, pathname has .. as its final component. POSIX.1 also allows EEXIST for this condition.

EPERM

The directory containing pathname 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

pathname 을 포 함 ν•œ 파 일 μ‹œ 슀 ν…œ 이 λ”” λ ‰ ν†  리 μ‚­ 제 λ₯Ό μ§€ 원 ν•˜ μ§€ μ•Š λŠ” λ‹€ .

EROFS

pathname refers to a directory on a read-only filesystem.

ν‘œ μ€€

POSIX.1-2008.

이 λ ₯

POSIX.1-2001, SVr4, 4.3BSD.

버 κ·Έ

NFSν”„ 둜 ν†  콜 의 λΆ€ 적 적 ν•œ ν‘œ ν˜„ 은 ν˜„ 재 μ“° κ³  있 λŠ” λ”” λ ‰ ν†  리 의 κΈ° λŒ€ ν•˜ μ§€ μ•Š 은 μ†Œ μ‹€ 을 μ•Ό κΈ° ν•  수 있 λ‹€ .

μΆ” κ°€ μ°Έ μ‘°

rm (1), rmdir (1), chdir (2), chmod (2), mkdir (2), rename (2), unlink (2), unlinkat (2)

번 μ—­

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 ν•œ κ΅­ μ–΄ 번 μ—­ 은 λ‹€ 음 에 의 ν•΄ 편 μ§‘ 되 μ—ˆ 슡 λ‹ˆ λ‹€ : ASPLINUX <man@asp-linux.co.kr>

이 번 μ—­ 은 무 료 λ¬Έ μ„œ μž… λ‹ˆ λ‹€ . μ € μž‘ ꢌ μ‘° 건 에 λŒ€ ν•΄ μ„œ λŠ” GNU General Public License 버 μ „ 3 이 상 을 읽 으 μ‹­ μ‹œ 였 . μ±… μž„ 이 μ—† 슡 λ‹ˆ λ‹€ .

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 번 μ—­ 에 μ„œ 였 λ₯˜ λ₯Ό 발 견 ν•˜ λ©΄ translation-team-ko@googlegroups.com 둜 이 λ©” 일 을 보 λ‚΄ μ£Ό μ‹­ μ‹œ 였 .