diff options
author | Anton Kling <anton@kling.gg> | 2024-10-14 21:42:38 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-10-14 21:42:38 +0200 |
commit | 87af93c7521be331a5794c6a53f31d13b3a24baa (patch) | |
tree | 7807e28e64b17bebd3a5ad4f980fbada3278e6df /userland/libc/libc.c | |
parent | a5b508d1fb751015ecb9b6701749dcdcd81e3071 (diff) |
kernel: stuff
Diffstat (limited to 'userland/libc/libc.c')
-rw-r--r-- | userland/libc/libc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/libc.c b/userland/libc/libc.c index decd002..f1b6bdf 100644 --- a/userland/libc/libc.c +++ b/userland/libc/libc.c @@ -272,3 +272,7 @@ int shm_open(const char *name, int oflag, mode_t mode) { }; RC_ERRNO(syscall(SYS_SHM_OPEN, (u32)&args, 0, 0, 0, 0)); } + +int shm_unlink(const char *name) { + RC_ERRNO(syscall(SYS_SHM_UNLINK, (u32)name, 0, 0, 0, 0)); +} |