www.delorie.com/djgpp/doc/libc-2.01/libc_668.html   search  
Go to the first, previous, next, last section, table of contents.


unlink

Syntax

#include <unistd.h>

int unlink(const char *file);

Description

This function removes a file from the file system.

Return Value

Zero on success, nonzero on failure.

Example

unlink("data.txt");


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

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