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

Function getThreadCommandBuffer

libctru/include/3ds/svc.h:542–545  ·  view source on GitHub ↗

* @brief Gets the thread command buffer. * @return The thread command buffer. */

Source from the content-addressed store, hash-verified

540 * @return The thread command buffer.
541 */
542static inline u32* getThreadCommandBuffer(void)
543{
544 return (u32*)((u8*)getThreadLocalStorage() + 0x80);
545}
546
547/**
548 * @brief Gets the thread static buffer.

Callers 15

ERRF_ThrowFunction · 0.85
ERRF_SetUserStringFunction · 0.85
srvRegisterClientFunction · 0.85
srvEnableNotificationFunction · 0.85
srvRegisterServiceFunction · 0.85
srvUnregisterServiceFunction · 0.85
srvRegisterPortFunction · 0.85
srvUnregisterPortFunction · 0.85
srvGetPortFunction · 0.85
srvWaitForPortRegisteredFunction · 0.85
srvSubscribeFunction · 0.85

Calls 1

getThreadLocalStorageFunction · 0.85

Tested by

no test coverage detected