Query: remove
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
remove(3C) Standard C Library Functions remove(3C)NAMEremove - remove fileSYNOPSIS#include <stdio.h> int remove(const char *path);DESCRIPTIONThe 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 VALUESUpon successful completion, remove() returns 0. Otherwise, it returns -1 and sets errno to indicate an error.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOrmdir(2), unlink(2), attributes(5), standards(5) SunOS 5.11 14 Aug 2002 remove(3C)
Related Man Pages |
---|
remove(3) - linux |
remove(3) - debian |
remove(3) - suse |
remove(3) - osf1 |
remove(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
remove print formating from printer output file |
find & remove characters in filenames |
Bash: How to remove the last character of a string? |
sed and punctuations |
Rm * excluding one file |