2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
11 /*****************************************************************************
19 const char * pathname
)
22 Deletes a file or directory.
25 pathname - Complete path to the file or directory.
28 0 on success and -1 on error. In case of an error, errno is set.
40 ******************************************************************************/
42 if (!DeleteFile (pathname
))
44 errno
= __stdc_ioerr2errno (IoErr());