summaryrefslogtreecommitdiff
path: root/userland/libc/fcntl/open_process.c
blob: 848672826e48bcdd958147386b5ee84293a7ea67 (plain)
1
2
3
4
5
6
#include <fcntl.h>
#include <syscall.h>

int open_process(int pid) {
  RC_ERRNO(syscall(SYS_OPEN_PROCESS, pid, 0, 0, 0, 0));
}