summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-30 02:42:34 +0000
committermidipix <writeonce@midipix.org>2019-08-30 03:02:03 +0000
commitb85b1f5d35413312c08e7670dd4db67b7e088d91 (patch)
tree1be04be1b6f6aff303965a440c37e4be8d9c5599 /src/arch/nt32
parentda2149d3136a05b9adb98b0811f706fef15bb95f (diff)
downloadmmglue-b85b1f5d35413312c08e7670dd4db67b7e088d91.tar.bz2
mmglue-b85b1f5d35413312c08e7670dd4db67b7e088d91.tar.xz
glue layer: introduced <sys/cmd.h>, implemented associated interfaces.
Diffstat (limited to 'src/arch/nt32')
-rw-r--r--src/arch/nt32/cmd.c10
1 files changed, 10 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);
+}