remove(S) 6 January 1993 remove(S) Name remove - removes filename Syntax cc . . . -lc #include <stdio.h> int remove (filename) const char *filename; Description The remove function causes the file whose name is the string pointed to by filename to be no longer accessible by that name. A subsequent attempt to open that file using that name fails, unless it is created anew. If the file is open, the behavior of the remove function is implementation- defined. Return value The remove function returns zero if the operation succeeds, nozero if it fails. Standards conformance remove is conformant with: IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C Language] (ISO/IEC 9945-1); and NIST FIPS 151-1.