4.11.4. remove()

This is the standard C library remove() function from stdio.h.

Syntax

int remove(const char *filename);

Implementation

remove() causes the file whose name isthe string pointed to by filename to be removed. Subsequent attempts to open the file will fail, unless it is created again. If the file is open, the behavior of the remove function is implementation-defined.

Returns

Returns zero if the operation succeeds or nonzero if it fails.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential