Home > Electronics Tutorials > C Language Tutorial > stdio.h - File Functions - remove

C Language Programming Library Reference Guide

stdio.h - File Functions - remove

Declaration:

int remove(const char *filename); Deletes the given filename so that it is no longer accessible (unlinks the file). If the file is currently open, then the result is implementation-defined.

On success zero is returned. On failure a nonzero value is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......