MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / sys_sigprocmask

Function sys_sigprocmask

src/syscall.cpp:354–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354[[nodiscard]] auto sys_sigprocmask(int how, uint32_t set, uint32_t* oldset)
355 -> int {
356 auto result =
357 TaskManagerSingleton::instance().SetSignalMask(how, set, oldset);
358 if (!result.has_value()) {
359 klog::Err("[Syscall] sys_sigprocmask failed: {}", result.error().message());
360 return -1;
361 }
362 return 0;
363}

Callers 2

syscall_dispatcherFunction · 0.85
sigprocmask_targetFunction · 0.85

Calls 3

ErrFunction · 0.85
SetSignalMaskMethod · 0.80
messageMethod · 0.80

Tested by 1

sigprocmask_targetFunction · 0.68