(C) 1998 AROS - The Amiga Research OS


NAME
#include <string.h>

int unlink ()

SYNOPSIS
const char * pathname

FUNCTION
Delete a file from disk.

INPUTS
pathname
Complete path to the file

RESULT
0 on success and -1 on error. In case of an error, errno is set.

EXAMPLE
// Delete the file xyz in the current directory
unlink ("xyz");
SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
06.03.1997 digulla
Two new functions