diff options
author | midipix <writeonce@midipix.org> | 2018-10-09 20:48:31 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-10-12 13:59:52 -0400 |
commit | 80f43a829180bc0301fecb5dc4ddf6dd95348976 (patch) | |
tree | 359f21c062534deae79d6527c7e1d9673609c244 /src/cmds | |
parent | 4fe92c4cff0594f66da78c946cbee5621cf23428 (diff) | |
download | ntux-80f43a829180bc0301fecb5dc4ddf6dd95348976.tar.bz2 ntux-80f43a829180bc0301fecb5dc4ddf6dd95348976.tar.xz |
driver: added 'chmod' command support.
Diffstat (limited to 'src/cmds')
-rw-r--r-- | src/cmds/ntux_cmd_chmod.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/cmds/ntux_cmd_chmod.c b/src/cmds/ntux_cmd_chmod.c new file mode 100644 index 0000000..00788eb --- /dev/null +++ b/src/cmds/ntux_cmd_chmod.c @@ -0,0 +1,26 @@ +/***********************************************************/ +/* ntux: native translation und extension */ +/* Copyright (C) 2016--2018 Z. Gilboa */ +/* Released under GPLv2 and GPLv3; see COPYING.NTUX. */ +/***********************************************************/ + +#include <ntapi/ntapi.h> +#include <psxabi/sys_sysapi.h> +#include <psxabi/sys_stat.h> +#include <psxabi/sys_errno.h> + +#include <psxxfi/xfi_ofd.h> +#include <psxxfi/xfi_unicode.h> + +#include <ntux/ntux.h> +#include "ntux_driver_impl.h" +#include "ntux_nolibc_impl.h" +#include "ntux_errinfo_impl.h" + +int ntux_cmd_chmod(const struct ntux_driver_ctx * dctx, const char * dunit) +{ + (void)dctx; + (void)dunit; + + return 0; +} |