MCPcopy Create free account
hub / github.com/devkitPro/libctru / udsipc_Shutdown

Function udsipc_Shutdown

libctru/source/services/uds.c:313–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313static Result udsipc_Shutdown(void)
314{
315 u32* cmdbuf=getThreadCommandBuffer();
316
317 cmdbuf[0]=IPC_MakeHeader(0x3,0,0); // 0x30000
318
319 Result ret=0;
320 if(R_FAILED(ret=svcSendSyncRequest(__uds_servhandle)))return ret;
321
322 return cmdbuf[1];
323}
324
325Result udsEjectClient(u16 NetworkNodeID)
326{

Callers 1

udsExitFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected