2 Copyright © 2003-2013, The AROS Development Team. All rights reserved.
5 POSIX.1-2008 function rmdir().
11 /*****************************************************************************
19 const char * pathname
)
22 Deletes an empty directory.
25 pathname - Complete path to the directory.
28 0 on success and -1 on error. In case of an error, errno is set.
41 ******************************************************************************/
43 /* FIXME: Shouldn't we check if pathname is actually a directory ? */
44 return remove(__path_u2a(pathname
));