summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-07-01 16:21:43 +0200
committerAnton Kling <anton@kling.gg>2024-07-01 16:21:43 +0200
commit326cedcca7050ec0b143ff3d2ad94839f77ab22e (patch)
tree0fbcfdc18b0da5ba2cccb3950edf1ef906e9af5b /userland/libc/include
parentab09d1f56f5881eb5d2234038d9146f74deecc10 (diff)
LibC: Change how kill() works
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/signal.h1
-rw-r--r--userland/libc/include/syscall.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/userland/libc/include/signal.h b/userland/libc/include/signal.h
index 42702b2..e5f8d8b 100644
--- a/userland/libc/include/signal.h
+++ b/userland/libc/include/signal.h
@@ -39,6 +39,7 @@ struct siginfo {
typedef struct siginfo siginfo_t;
int kill(int fd, int sig);
+int kill_fd(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 e1c0b07..0396dce 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -47,6 +47,7 @@
#define SYS_SETSOCKOPT 39
#define SYS_GETPEERNAME 40
#define SYS_FCNTL 41
+#define SYS_CLOCK_GETTIME 42
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);