diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/fs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/fs.h b/include/sys/fs.h index efc1466..bbb8d4d 100644 --- a/include/sys/fs.h +++ b/include/sys/fs.h @@ -6,9 +6,15 @@ extern "C" { #endif #define __NEED_size_t +#define __NEED_mode_t +#define __NEED_uint32_t #include <bits/alltypes.h> +/* acceess control entry flags */ +#define __ACE_OBJECT_INHERIT (0x01) +#define __ACE_CONTAINER_INHERIT (0x02) + /***************************************************************************/ /* int (*__fs_path_fn)(int fdat, const char * path, int options, */ /* char * buffer, size_t buflen); */ @@ -42,6 +48,9 @@ int __fs_apath(int, const char *, int, char *, size_t); int __fs_npath(int, const char *, int, char *, size_t); 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); + #ifdef __cplusplus } #endif |