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. --- include/sys/fs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3