diff options
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)); +} |