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

@@ -64,3 +64,7 @@ int mail_receive (void* mesg, size_t mesg_size) {
int get_procgroup (int pid) { return (int)do_syscall (SYS_GET_PROCGROUP, pid); }
int get_exec_pid (void) { return (int)do_syscall (SYS_GET_EXEC_PID, 0); }
int read_dir_entry (const char* path, struct dir_entry* entry, size_t entry_num) {
return (int)do_syscall (SYS_READ_DIR_ENTRY, path, entry, entry_num);
}