private unsafe int Mkdir(path *path, mode_t mode) { try { return(_fileSystem.MkDir(ToSpan(path), mode)); } catch { return(-EIO); } }
private unsafe int Mkdir(path *path, mode_t mode) { try { return(_fileSystem.MkDir(ToSpan(path), mode)); } catch (Exception ex) { Console.WriteLine($"MKDIR gets error: {ex.Message}"); return(-EIO); } }