mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37: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:
parent
06a80bcf69
commit
874ebbe4a5
Notes:
sideshowbarker
2024-07-19 11:17:58 +09:00
Author: https://github.com/awesomekling
Commit: 874ebbe4a5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue