libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Enumerations | Functions
environment.h File Reference

Functions to query the current environment. More...

#include <libtransistor/types.h>
Include dependency graph for environment.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  kernel_version_t {
  KERNEL_VERSION_INVALID, KERNEL_VERSION_100, KERNEL_VERSION_200, KERNEL_VERSION_300,
  KERNEL_VERSION_400, KERNEL_VERSION_500, KERNEL_VERSION_MAX = KERNEL_VERSION_500
}
 

Functions

kernel_version_t env_get_kernel_version ()
 Returns the current kernel version, for feature-detection purposes.
 
void * env_get_stack_top ()
 Gets a pointer to the top of the stack.
 

Detailed Description

Functions to query the current environment.