2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 POSIX function mkdir().
13 /*****************************************************************************
28 path - the path of the directory being created
29 mode - the permission flags for the directory
32 0 on success or -1 on errorr.
42 chmod(), stat(), umask()
46 ******************************************************************************/
51 if (!path
) /*safety check */
57 path
= __path_u2a(path
);
61 lock
= CreateDir(path
);
65 errno
= IoErr2errno(IoErr());