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.

Portability

not ANSI, POSIX

Example

unlink("data.txt");


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