From 5ea34cb56684081537ee33b2b786d332c91764f4 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 1 May 2020 03:47:02 +0000 Subject: glue layer: added __fs_tmp{file|dir}(), for fast & atomic tmpfs obj creation. --- src/arch/nt32/fs.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/arch/nt32') diff --git a/src/arch/nt32/fs.c b/src/arch/nt32/fs.c index 93ccd82..11c9b7d 100644 --- a/src/arch/nt32/fs.c +++ b/src/arch/nt32/fs.c @@ -34,3 +34,13 @@ int __fs_chmod(int fdat, const char * path, mode_t mode, int flags, uint32_t ace { return syscall(SYS_fs_chmod,fdat,path,mode,flags,ace_flags); } + +int __fs_tmpfile(int flags) +{ + return syscall(SYS_fs_tmpfile,flags); +} + +int __fs_tmpdir(int flags) +{ + return syscall(SYS_fs_tmpdir,flags); +} -- cgit v1.2.3