io: add lots of directory and path manipulation functions

This commit is contained in:
2025-04-11 13:54:53 +01:00
parent f3e48f3e47
commit a627116264
10 changed files with 689 additions and 42 deletions

13
io/sys/darwin/posix.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _IO_DARWIN_POSIX_H_
#define _IO_DARWIN_POSIX_H_
#include <blue/core/status.h>
struct stat;
struct b_file_info;
extern enum b_status b_status_from_errno(int error, enum b_status default_value);
extern enum b_status b_file_info_from_stat(
const struct stat *in, struct b_file_info *out);
#endif