summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/fcntl.h1
-rw-r--r--userland/libc/include/signal.h2
-rw-r--r--userland/libc/include/syscall.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/userland/libc/include/fcntl.h b/userland/libc/include/fcntl.h
index 29134be..57c968a 100644
--- a/userland/libc/include/fcntl.h
+++ b/userland/libc/include/fcntl.h
@@ -11,3 +11,4 @@
#define O_RDWR (O_WRITE | O_READ)
int open(const char *file, int flags, ...);
+int open_process(int pid);
diff --git a/userland/libc/include/signal.h b/userland/libc/include/signal.h
index 2be081c..a241015 100644
--- a/userland/libc/include/signal.h
+++ b/userland/libc/include/signal.h
@@ -37,7 +37,7 @@ struct siginfo {
typedef struct siginfo siginfo_t;
-int kill(pid_t pid, int sig);
+int kill(int fd, int sig);
struct sigaction {
void (*sa_handler)(int); // Pointer to a signal-catching function or one of
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index e375079..c5fe3e4 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -61,6 +61,7 @@
#define SYS_QUEUE_ADD 50
#define SYS_QUEUE_WAIT 51
#define SYS_MUNMAP 52
+#define SYS_OPEN_PROCESS 53
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);