Files
my-os-project2/ulib/system/processctl.c
2025-09-06 11:47:01 +02:00

9 lines
245 B
C

#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);
}