From b85b1f5d35413312c08e7670dd4db67b7e088d91 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 30 Aug 2019 02:42:34 +0000 Subject: glue layer: introduced , implemented associated interfaces. --- src/arch/nt32/cmd.c | 10 ++++++++++ src/arch/nt64/cmd.c | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/arch/nt32/cmd.c create mode 100644 src/arch/nt64/cmd.c (limited to 'src/arch') 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 +#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 +#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); +} -- cgit v1.2.3