mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibC: shm_unlink() was making an unlink() syscall internally
I guess that tells us how well-tested the SHM implementation is.
This commit is contained in:
@@ -53,7 +53,7 @@ int shm_open(const char* name, int flags, mode_t mode)
|
||||
|
||||
int shm_unlink(const char* name)
|
||||
{
|
||||
int rc = syscall(SC_unlink, name);
|
||||
int rc = syscall(SC_shm_close, name);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user