Remove

From Wikipedia, the free encyclopedia

The correct title of this article is remove. The initial letter is shown capitalized due to technical restrictions.
For the UNIX command, see Rm (Unix).

remove is a function in C programming language that deletes a certain file from the file system. It has the following prototype:

int remove(char *filename)

Where zero is returned upon success and non-zero integers are returned upon failure. The remove function is specified in the stdio.h header of C standard library.

[edit] References

  1. remove on cppreference.com
  2. remove on cplusplus.com