2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
12 /*****************************************************************************
20 const char * pathname
)
23 Deletes a file or directory.
26 pathname - Complete path to the file or directory.
29 0 on success and -1 on error. In case of an error, errno is set.
43 ******************************************************************************/
45 if (!DeleteFile (__path_u2a(pathname
)))
47 errno
= __arosc_ioerr2errno (IoErr());