mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Implement exit syscall
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
#include "scheduler.h"
|
||||
|
||||
|
||||
void
|
||||
process::exit(uint32_t code)
|
||||
{
|
||||
return_code = code;
|
||||
flags -= process_flags::running;
|
||||
}
|
||||
|
||||
pid_t
|
||||
process::fork(uintptr_t in_rsp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user