BALTECH SDK wrapper functions reference
platform.h File Reference

Defines generic, platform specific functions which are required for the SDK internally. More...

#include "common.h"
#include <limits.h>

Go to the source code of this file.

Functions

BRP_LIB brp_time brp_get_time (void)
 Retrieves a monotonic timer since powerup. More...
 
BRP_LIB bool brp_get_random (brp_buf buf, size_t len)
 Retrieve random data and store it into a buffer. More...
 
BRP_LIB bool brp_get_home_dir (char *result)
 Retrieves the HOME directory of the current user. More...
 
BRP_LIB bool brp_get_process_name (char *result)
 Retrieves the (file-)name of the current process. More...
 
BRP_LIB bool brp_create_directory_recursive (const char *path)
 Creates a directory recursively, creating intermediate directories as needed. More...
 
BRP_LIB bool brp_directory_exists (const char *path)
 Checks if a directory exists at the given path. More...
 
BRP_LIB bool brp_getenv (const char *name, char *result, size_t len)
 Retrieves the value of an environment variable. More...
 

Detailed Description

Defines generic, platform specific functions which are required for the SDK internally.

Definition in file platform.h.