feat: add inherited sessions and desktop session teardown
This commit is contained in:
@@ -36,6 +36,8 @@ int spawn(const char* path, const char* args); // Spawn child, inheriting
|
||||
int waitpid(int pid); // Wait for process to exit
|
||||
int kill(int pid); // Kill a process
|
||||
int proclist(ProcInfo* buf, int max); // List all processes (returns count)
|
||||
int setsession(); // Start a new inherited process session
|
||||
int killsession(int sessionId); // Kill live members; repeat until zero
|
||||
```
|
||||
|
||||
**`ProcInfo` struct:**
|
||||
|
||||
Reference in New Issue
Block a user