diff options
author | midipix <writeonce@midipix.org> | 2020-05-01 03:47:02 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-01 19:03:04 +0000 |
commit | 5ea34cb56684081537ee33b2b786d332c91764f4 (patch) | |
tree | f3c1e9b9b6cfc0ebca304ab8e1bbef9a7d6f9209 /src/arch/nt64 | |
parent | 8524cb9777da57ee070d5971e9426165daf96fb2 (diff) | |
download | mmglue-5ea34cb56684081537ee33b2b786d332c91764f4.tar.bz2 mmglue-5ea34cb56684081537ee33b2b786d332c91764f4.tar.xz |
glue layer: added __fs_tmp{file|dir}(), for fast & atomic tmpfs obj creation.
Diffstat (limited to 'src/arch/nt64')
-rw-r--r-- | src/arch/nt64/fs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/nt64/fs.c b/src/arch/nt64/fs.c index 93ccd82..11c9b7d 100644 --- a/src/arch/nt64/fs.c +++ b/src/arch/nt64/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); +} |