Skip to content

FormatToTaskWait

Unpacks the registers of a WaitOn() on a task.

Library helper

Implemented in zuzu.h on top of the syscalls; it has no syscall number of its own.

TaskWaitResult FormatToTaskWait(SvcResult r);

Parameters

Name Direction Description
r in Result of WaitOn() on a task handle.

Returns

The status, the outcome (TASK_EXITED or TASK_FAULTED) and the exit status or fault reason.