@Override public int chmod(String filename, int mode) { return wlibc()._wchmod(WString.path(filename), mode); }
@Override public int chmod(String filename, int mode) { return wlibc()._wchmod(WString.path(filename), mode); }
@Override public int chmod(String filename, int mode) { return wlibc()._wchmod(WString.path(filename), mode); }
@Override public int chmod(String filename, int mode) { return wlibc()._wchmod(WString.path(filename), mode); }
@Override public int mkdir(String path, int mode) { WString widePath = WString.path(path); int res = -1; if (wlibc()._wmkdir(widePath) == 0) { res = wlibc()._wchmod(widePath, mode); } if (res < 0) { int errno = errno(); handler.error(Errno.valueOf(errno), "mkdir", path); } return res; }
@Override public int mkdir(String path, int mode) { WString widePath = WString.path(path); int res = -1; if (wlibc()._wmkdir(widePath) == 0) { res = wlibc()._wchmod(widePath, mode); } if (res < 0) { int errno = errno(); handler.error(Errno.valueOf(errno), "mkdir", path); } return res; }
@Override public int mkdir(String path, int mode) { WString widePath = WString.path(path); int res = -1; if (wlibc()._wmkdir(widePath) == 0) { res = wlibc()._wchmod(widePath, mode); } if (res < 0) { int errno = errno(); handler.error(Errno.valueOf(errno), "mkdir", path); } return res; }
@Override public int mkdir(String path, int mode) { WString widePath = WString.path(path); int res = -1; if (wlibc()._wmkdir(widePath) == 0) { res = wlibc()._wchmod(widePath, mode); } if (res < 0) { int errno = errno(); handler.error(Errno.valueOf(errno), "mkdir", path); } return res; }