2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 ANSI C function remove().
10 #include <proto/dos.h>
14 /*****************************************************************************
22 const char * pathname
)
25 Deletes a file or directory.
28 pathname - Complete path to the file or directory.
31 0 on success and -1 on error. In case of an error, errno is set.
45 ******************************************************************************/
47 if (!DeleteFile (__path_u2a(pathname
)))
49 errno
= IoErr2errno (IoErr());