summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt64/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/nt64/fs.c')
-rw-r--r--src/arch/nt64/fs.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/arch/nt64/fs.c b/src/arch/nt64/fs.c
new file mode 100644
index 0000000..b198777
--- /dev/null
+++ b/src/arch/nt64/fs.c
@@ -0,0 +1,26 @@
+#include <sys/fs.h>
+#include "syscall.h"
+
+int __fs_rpath(int fdat, const char * path, int options,
+ char * buffer, size_t buflen)
+{
+ return __syscall(SYS_fs_rpath,fdat,path,options,buffer,buflen);
+}
+
+int __fs_apath(int fdat, const char * path, int options,
+ char * buffer, size_t buflen)
+{
+ return __syscall(SYS_fs_apath,fdat,path,options,buffer,buflen);
+}
+
+int __fs_npath(int fdat, const char * path, int options,
+ char * buffer, size_t buflen)
+{
+ return __syscall(SYS_fs_npath,fdat,path,options,buffer,buflen);
+}
+
+int __fs_dpath(int fdat, const char * path, int options,
+ char * buffer, size_t buflen)
+{
+ return __syscall(SYS_fs_dpath,fdat,path,options,buffer,buflen);
+}