feat: add inherited sessions and desktop session teardown

This commit is contained in:
daniel committed 2026-08-14 10:33:20 +02:00
1 parent f8ded3c30e
commit 0f81276efc
17 files changed
+165

No files matched your search

+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:**