summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2026-02-01 00:19:22 +0100
committerAndreas Fankhauser hiddenalpha.ch2026-02-01 00:19:22 +0100
commit02292c24dc085e7b5bfbb44d30f3abd788851146 (patch)
treeef2b7794861f008843f829fabab3b5489cfbaa00 /include
parent9ec581009f4790a6874d7703d996d084e08e3c76 (diff)
downloadQntan-02292c24dc085e7b5bfbb44d30f3abd788851146.tar.gz
Qntan-02292c24dc085e7b5bfbb44d30f3abd788851146.zip
Add `FileSystem.mkdir()`
Diffstat (limited to 'include')
-rw-r--r--include/qntan/Qntan.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 50abf24..2030582 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -519,9 +519,12 @@ struct Qntan_FileSystem {
// /* Get detail information of a file/dir.
// * 'buf' is only valid until return from 'onDone'.
// */
-// void (*mkdir)( struct Qntan_FileSystem**, char const*path, mode_t,
-// void(*onDone)(int, Qntan_Cls), Qntan_Cls );
-// /**/
+ void (*mkdir)( struct Qntan_FileSystem**, char const*path, uint32_t mode,
+ void(*onDone)(int, Qntan_Cls), Qntan_Cls );
+ /* Same idea as
+ * "https://pubs.opengroup.org/onlinepubs/009696799/functions/mkdir.html"
+ * just using an async API.
+ */
// void (*rmdir)( struct Qntan_FileSystem**, const char*path,
// void(*onDone)(int, Qntan_Cls), Qntan_Cls );
// /**/