Environment information. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | sys_env_signal_callback_t) (sys_env_signal_t signal) |
Callback function type for handling environment signals. More... | |
Enumerations | |
enum | sys_env_signal_t { SYS_ENV_SIGNAL_NONE = 0, SYS_ENV_SIGNAL_TERM, SYS_ENV_SIGNAL_INT, SYS_ENV_SIGNAL_QUIT = (1 << 2) } |
Environment signal types. More... | |
Functions | |
bool | sys_env_signalhandler (sys_env_signal_t mask, sys_env_signal_callback_t callback) |
Sets a handler for environment signals. More... | |
const char * | sys_env_serial (void) |
Returns a unique identifier for the current environment. More... | |
const char * | sys_env_name (void) |
Returns the name of the current environment. More... | |
const char * | sys_env_version (void) |
Returns the version of the current environment. More... | |
Environment information.
Definition in file env.h.