Keil Logo Arm Logo

remove()

remove()

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

Show/hideSyntax

int remove(const char *filename);

Show/hideUsage

The default implementation of this function uses semihosting.

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

Show/hideReturns

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

Show/hideSee also

Reference

Using ARM C and C++ Libraries and Floating-Point Support:

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0589B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.