Unix and Linux Discussions Tagged with remove |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
10,125 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
78,001 |
Shell Programming and Scripting |
|
|
|
2 |
6,495 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,357 |
AIX |
|
|
|
11 |
27,643 |
Shell Programming and Scripting |
|
|
|
2 |
3,957 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
9,767 |
Shell Programming and Scripting |
|
|
|
9 |
6,828 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,924 |
Shell Programming and Scripting |
|
|
|
2 |
4,609 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
9,555 |
Shell Programming and Scripting |
|
|
|
4 |
3,259 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,482 |
Programming |
|
|
|
4 |
2,455 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,825 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
7,868 |
Shell Programming and Scripting |
|
|
|
7 |
8,072 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,718 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
7,021 |
Shell Programming and Scripting |
|
|
|
3 |
3,918 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,322 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,530 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
2,975 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
18,216 |
Solaris |
|
|
|
5 |
2,240 |
Shell Programming and Scripting |
|
|
|
4 |
6,165 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,394 |
Shell Programming and Scripting |
|
|
|
2 |
3,084 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,612 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,900 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,584 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,014 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,901 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,844 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,357 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,952 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
14,364 |
Answers to Frequently Asked Questions |
|
|
|
2 |
5,826 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
3,141 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
6,781 |
Shell Programming and Scripting |
remove(3C) Standard C Library Functions remove(3C)
NAME
remove - remove file
SYNOPSIS
#include <stdio.h>
int remove(const char *path);
DESCRIPTION
The remove() function causes the file or empty directory whose name is the string pointed to by path to be no longer accessible by that
name. A subsequent attempt to open that file using that name will fail, unless the file is created anew.
For files, remove() is identical to unlink(). For directories, remove() is identical to rmdir().
See rmdir(2) and unlink(2) for a detailed list of failure conditions.
RETURN VALUES
Upon successful completion, remove() returns 0. Otherwise, it returns -1 and sets errno to indicate an error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
rmdir(2), unlink(2), attributes(5), standards(5)
SunOS 5.11 14 Aug 2002 remove(3C)