[orbis-kernel] Stub sys_shm_unlink

This commit is contained in:
Ivan Chikish 2023-07-23 17:40:01 +03:00
parent 5ec8af51f7
commit 8e9026bf8c

View file

@ -14,5 +14,12 @@ orbis::SysResult orbis::sys_shm_open(Thread *thread, ptr<const char> path,
return {};
}
orbis::SysResult orbis::sys_shm_unlink(Thread *thread, ptr<const char> path) {
return ErrorCode::NOSYS;
char _name[256];
if (auto result = ureadString(_name, sizeof(_name), path);
result != ErrorCode{}) {
return result;
}
ORBIS_LOG_TODO(__FUNCTION__, _name);
return {};
}