MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_alarm

Function syscall_alarm

source/kernel/syscall.cpp:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239static U32 syscall_alarm(CPU* cpu, U32 eipCount) {
240 SYS_LOG1(SYSCALL_PROCESS, cpu, "alarm: seconds=%d", ARG1);
241 U32 result = cpu->thread->process->alarm(ARG1);
242 SYS_LOG(SYSCALL_PROCESS, cpu, " result=%d(0x%X)\n", result, result);
243 return result;
244}
245
246static U32 syscall_utime(CPU* cpu, U32 eipCount) {
247 BString fileName = cpu->memory->readString(ARG1);

Callers

nothing calls this directly

Calls 1

alarmMethod · 0.80

Tested by

no test coverage detected