lib: fs: add library for implementing a filesystem service

This commit is contained in:
2026-03-06 20:17:23 +00:00
parent c4fd252f86
commit 5658e27445
15 changed files with 1506 additions and 0 deletions

21
lib/libfs/interface.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef _FS_INTERFACE_H_
#define _FS_INTERFACE_H_
#include <mango/types.h>
struct msg_endpoint;
extern kern_status_t fs_msg_open(
const struct msg_endpoint *sender,
const char *path,
int flags,
int *out_err,
void *arg);
extern kern_status_t fs_msg_close(
const struct msg_endpoint *sender,
const char *path,
int flags,
int *out_err,
void *arg);
#endif