summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt64/fs.c
blob: 93ccd826ab8d8e7b7d876e9130826c266051a965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#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);
}

int __fs_mkdir(int fdat, const char * path, mode_t mode, uint32_t ace_flags)
{
	return syscall(SYS_fs_mkdir,fdat,path,mode,ace_flags);
}

int __fs_chmod(int fdat, const char * path, mode_t mode, int flags, uint32_t ace_flags)
{
	return syscall(SYS_fs_chmod,fdat,path,mode,flags,ace_flags);
}