Implement read_dir_entry () VFS op, CE add ls command

This commit is contained in:
2026-02-25 16:25:43 +01:00
parent 704db2dfa4
commit 29bbcea435
12 changed files with 189 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
#define _LIBMSL_M_SYSTEM_H
#include <desc.h>
#include <dir_entry.h>
#include <stddef.h>
#include <stdint.h>
@@ -77,4 +78,7 @@ int get_procgroup (int pid);
/* get PID of process, which exec'ed the current process */
int get_exec_pid (void);
/* Read directory entry */
int read_dir_entry (const char* path, struct dir_entry* entry, size_t entry_num);
#endif // _LIBMSL_M_SYSTEM_H