Simple IPC with pipes

This commit is contained in:
2025-09-06 11:47:01 +02:00
parent 643d692259
commit cd0e262e56
21 changed files with 312 additions and 17 deletions

8
ulib/system/processctl.c Normal file
View File

@ -0,0 +1,8 @@
#include <stdint.h>
#include <sysdefs/processctl.h>
#include <sysdefs/syscall.h>
#include <syscall/syscall.h>
int32_t processctl(uint64_t pid, uint64_t cmd, void *extra) {
return syscall(SYS_PROCESSCTL, pid, cmd, (uint64_t)extra, 0, 0, 0);
}