Go to the first, previous, next, last section, table of contents.


remove

Syntax

#include <stdio.h>

int remove(const char *file);

Description

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.

Return Value

Zero on success, nonzero on failure.

Portability

ANSI, POSIX

Example

remove("/tmp/data.tmp");


Go to the first, previous, next, last section, table of contents.