From 02292c24dc085e7b5bfbb44d30f3abd788851146 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Sun, 1 Feb 2026 00:19:22 +0100 Subject: Add `FileSystem.mkdir()` --- include/qntan/Qntan.h | 9 ++++++--- 1 file 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 ); // /**/ -- cgit v1.3.1