2 Copyright © 2003, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
13 BOOL
MakeDir( CONST_STRPTR path
)
15 BPTR lock
= CreateDir( path
);
26 BOOL
MakeDirs( STRPTR path
)
32 for( position
= path
; *position
!= '\0'; position
++ )
34 if( *position
== '/' )
38 if( (lock
= Lock( path
, SHARED_LOCK
)) != NULL
)
45 success
= MakeDir( path
);
50 if( !success
) return FALSE
;