// this code is licenced under Wrathmark licence // © 2026 wullie wulliestudio.com // please see attached licence for full usage and rights #include "LocalHeader.h" #include "stdWullie/definitions/typeNull.h" #include "stdWullie/definitions/umodetypes.h" #include "stdWullie/exit.h" // does what is says on the tin long mkdir(const char *filePath, int mode){ if(mode == NULL){ riskyError(); return NULL; } syscall2(SYS_mkdir, (long)filePath, mode); }