CE add rm command, implement remove () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m51s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m51s
This commit is contained in:
@@ -80,3 +80,5 @@ 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); }
|
||||
|
||||
int remove (const char* path) { return (int)do_syscall (SYS_REMOVE, path); }
|
||||
|
||||
@@ -87,4 +87,7 @@ int kill (int pid);
|
||||
/* Create a directory */
|
||||
int create_dir (const char* path);
|
||||
|
||||
/* Remove filesystem entry */
|
||||
int remove (const char* path);
|
||||
|
||||
#endif // _LIBMSL_M_SYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user