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

Function envIsHomebrew

libctru/include/3ds/env.h:18–21  ·  view source on GitHub ↗

* @brief Gets whether the application was launched from a homebrew environment. * @return Whether the application was launched from a homebrew environment. */

Source from the content-addressed store, hash-verified

16 * @return Whether the application was launched from a homebrew environment.
17 */
18static inline bool envIsHomebrew(void) {
19 extern void* __service_ptr;
20 return __service_ptr != NULL;
21}
22
23/**
24 * @brief Retrieves a handle from the environment handle list.

Callers 2

romfsMountSelfFunction · 0.85
__libctru_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected