remove.3

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 28 行

3
28
字号
.TH remove 3.SH Nameremove \- removes files.SH Syntax.\" .B #include <stdio.h>.\"  Not sure were to put it, stdio or libc .B remove (\fIpath\fR).br.B char  *path;.SH Arguments.IP \fIpath\fR 15Provides the specification for a file or directory..SH DescriptionThe .PN remove library function removes a file. If the \fIpath\fP does not name a directory then \fIremove(path)\fP is equivalent to \fIunlink(path)\fP. If the \fIpath\fP does name a directory then \fIremove(path)\fP is equivalent to \fIrmdir(path)\fP..NXR "remove" "files".NXR "remove files".NXR "files" "remove".SH Return ValuesA 0 is returned if the remove succeeds; otherwise a \-1 is returnedand an error code is stored in the global location \fIerrno\fP..SH See Alsoerrno(2), rmdir(2), unlink(2)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?