(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL DeleteFile (name)

LOCATION
In DOSBase at offset 12

SYNOPSIS
STRPTR name

FUNCTION
Tries to delete a file or directory by a given name. May fail if the file is in use or protected from deletion.

INPUTS
name
NUL terminated name.

RESULT
!=0 if the file is gone, 0 if is still there. IoErr() gives additional information in that case.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY