Private
Public Access
2
0

mraa_internal.h: Add internal definition for mraa_atoi

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-10-27 13:37:43 +00:00
parent 3bb17bb7b9
commit 23e871c5bb

View File

@@ -140,6 +140,15 @@ mraa_boolean_t mraa_link_targets(const char* filename, const char* targetname);
*/
int mraa_find_i2c_bus(const char* devname, int startfrom);
/**
* helper function to wrap strtol for our basic usage
*
* @param string representing int
* @param converted string
* @return Result of the operation
*/
mraa_result_t mraa_atoi(char* intStr, int* value);
#if defined(IMRAA)
/**
* read Imraa subplatform lock file, caller is responsible to free return