CE add mkdir command, implement create_dir () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m1s

This commit is contained in:
2026-03-05 00:38:58 +01:00
parent 0897f08212
commit 35d5bed433
12 changed files with 100 additions and 0 deletions

View File

@@ -78,3 +78,5 @@ int write_file (const char* path, size_t off, uint8_t* buffer, size_t size, uint
int wait_for_pid (int pid) { return (int)do_syscall (SYS_WAIT_FOR_PID, pid); }
int kill (int pid) { return (int)do_syscall (SYS_KILL, pid); }
int create_dir (const char* path) { return (int)do_syscall (SYS_CREATE_DIR, path); }

View File

@@ -84,4 +84,7 @@ int wait_for_pid (int pid);
/* Kill process */
int kill (int pid);
/* Create a directory */
int create_dir (const char* path);
#endif // _LIBMSL_M_SYSTEM_H