summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-01 03:47:02 +0000
committermidipix <writeonce@midipix.org>2020-05-01 19:03:04 +0000
commit5ea34cb56684081537ee33b2b786d332c91764f4 (patch)
treef3c1e9b9b6cfc0ebca304ab8e1bbef9a7d6f9209 /include
parent8524cb9777da57ee070d5971e9426165daf96fb2 (diff)
downloadmmglue-5ea34cb56684081537ee33b2b786d332c91764f4.tar.bz2
mmglue-5ea34cb56684081537ee33b2b786d332c91764f4.tar.xz
glue layer: added __fs_tmp{file|dir}(), for fast & atomic tmpfs obj creation.
Diffstat (limited to 'include')
-rw-r--r--include/sys/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/fs.h b/include/sys/fs.h
index bbb8d4d..53246df 100644
--- a/include/sys/fs.h
+++ b/include/sys/fs.h
@@ -51,6 +51,9 @@ int __fs_dpath(int, const char *, int, char *, size_t);
int __fs_mkdir(int, const char *, mode_t, uint32_t);
int __fs_chmod(int, const char *, mode_t, int, uint32_t);
+int __fs_tmpfile(int);
+int __fs_tmpdir(int);
+
#ifdef __cplusplus
}
#endif