summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qntan/Qntan.h')
-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 );
// /**/