add directory Ref-docs
This commit is contained in:
34
Ref-docs/syscalls/syscalls_28.html
Normal file
34
Ref-docs/syscalls/syscalls_28.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<html><!-- This HTML file has been created by texi2html 1.29
|
||||
from syscalls.texi on 4 June 1994 -->
|
||||
|
||||
<TITLE>Syscall specifications of Linux - rmdir</TITLE>
|
||||
<P>Go to the <A HREF="syscalls_27.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_27.html">previous</A>, <A HREF="syscalls_29.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_29.html">next</A> section.<P>
|
||||
<H2><A NAME="SEC28" HREF="syscalls_toc.html#SEC28" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC28">rmdir</A></H2>
|
||||
<P>
|
||||
<H3>SYNOPSIS</H3>
|
||||
<P>
|
||||
<CODE>int rmdir(const char *<VAR>path</VAR>);</CODE>
|
||||
|
||||
<H3>PARAMETERS</H3>
|
||||
<P>
|
||||
<VAR>path</VAR>: [in] points to path of directory to remove.
|
||||
<P>
|
||||
<H3>DESCRIPTION</H3>
|
||||
<P>
|
||||
Removes a directory. The directory to be removed must be empty.
|
||||
<P>
|
||||
<H3>RETURN VALUE</H3>
|
||||
<P>
|
||||
On success, returns zero. On error, returns -1 and sets <CODE>errno</CODE> to
|
||||
one of the following value:
|
||||
<P>
|
||||
<UL>
|
||||
<LI><CODE>EPERM</CODE>: the file system does not support directory removal,
|
||||
or the directory containing <VAR>path</VAR> and the task's effective uid is
|
||||
not equal to the uid of the file or the directory containing it.
|
||||
<LI><CODE>EFAULT</CODE>, <CODE>EACCESS</CODE>, <CODE>ENAMETOOLONG</CODE>, <CODE>ENOENT</CODE>,
|
||||
<CODE>ENOTDIR</CODE>, <CODE>ENOTEMPTY</CODE>, <CODE>EBUSY</CODE>, <CODE>ENOMEM</CODE>,
|
||||
<CODE>EROFS</CODE> or <CODE>ELOOP</CODE>.
|
||||
</UL>
|
||||
<P>
|
||||
<P>Go to the <A HREF="syscalls_27.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_27.html">previous</A>, <A HREF="syscalls_29.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_29.html">next</A> section.<P>
|
||||
Reference in New Issue
Block a user