delorie.com/djgpp/doc/libc/libc_659.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdio.h> int remove(const char *file); |
This function removes the named file from the file system. Unless you have an un-erase program, the file and its contents are gone for good.
Zero on success, nonzero on failure.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
remove("/tmp/data.tmp"); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |