www.delorie.com/djgpp/doc/libc-2.01/libc_532.html   search  
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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997