The os_realloc() API
The os_realloc() API
Postby kolban » Tue Sep 01, 2015 12:23 pm
Folks,
There is a rumor that there is an API called "os_realloc()" which would be a partner to "os_malloc()" and "os_free()". See here for a description of realloc().
http://linux.die.net/man/3/realloc
The claim is that os_realloc() is achieved via the following definitions.
#define os_realloc pvPortRealloc
void *pvPortRealloc(void* ptr, size_t size);
The question, of course ... is how valid is this notion? Is it simply that os_realloc() was missed in the docs and headers ... or is it simply not available or shouldn't be used?
Neil
There is a rumor that there is an API called "os_realloc()" which would be a partner to "os_malloc()" and "os_free()". See here for a description of realloc().
http://linux.die.net/man/3/realloc
The claim is that os_realloc() is achieved via the following definitions.
#define os_realloc pvPortRealloc
void *pvPortRealloc(void* ptr, size_t size);
The question, of course ... is how valid is this notion? Is it simply that os_realloc() was missed in the docs and headers ... or is it simply not available or shouldn't be used?
Neil
Who is online
Users browsing this forum: No registered users and 27 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.