summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/nt32/cmd.c10
-rw-r--r--src/arch/nt64/cmd.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/arch/nt32/cmd.c b/src/arch/nt32/cmd.c
new file mode 100644
index 0000000..a5def88
--- /dev/null
+++ b/src/arch/nt32/cmd.c
@@ -0,0 +1,10 @@
+#include <sys/cmd.h>
+#include "syscall.h"
+
+int __cmd_args_to_argv(
+ const char * args,
+ char * argbuf, size_t buflen,
+ char ** argv, size_t nptrs)
+{
+ return __syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
+}
diff --git a/src/arch/nt64/cmd.c b/src/arch/nt64/cmd.c
new file mode 100644
index 0000000..a5def88
--- /dev/null
+++ b/src/arch/nt64/cmd.c
@@ -0,0 +1,10 @@
+#include <sys/cmd.h>
+#include "syscall.h"
+
+int __cmd_args_to_argv(
+ const char * args,
+ char * argbuf, size_t buflen,
+ char ** argv, size_t nptrs)
+{
+ return __syscall(SYS_cmd_args_to_argv,args,argbuf,buflen,argv,nptrs);
+}