REMOVE(3) Library Functions Manual REMOVE(3)

removeremove files

#include <stdio.h>

int remove(const char *path);

The remove() function causes the file named by the pathname 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 it is created anew.

If path names a directory, remove ( path) is equivalent to ( path).

Refer to rmdir(3) or unlink(3) .

Refer to rmdir(3) or unlink(3) .

None.

None.

None.

rmdir(3) , unlink(3) , <stdio.h> .

Derived from the POSIX.1-1988 standard and ANSI C standard

February 1997 posix.fail