feat: add inherited sessions and desktop session teardown

This commit is contained in:
2026-08-14 10:33:20 +02:00
parent f8ded3c30e
commit 0f81276efc
17 changed files with 165 additions and 0 deletions
+2
View File
@@ -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:**