c/io/remove

Deletes the file identified by character string pointed to by.

If the file is currently open by this or another process, the behavior of this function is implementation-defined (in particular, POSIX systems unlink the file name although the file system space is not reclaimed until the last running process closes the file; Windows does not allow the file to be deleted).

Return value
upon success or non-zero value on error.