![]() |
ARMEBS4
revision-26.06.2015
|
![]() |
Functions | |
void * | _sbrk (int incr) |
Implementation of the sbrk systemcall for standalone software. More... | |
void * | malloc (size_t size) |
void | free (void *ptr) |
void * | calloc (size_t nmemb, size_t size) |
void * | realloc (void *ptr, size_t size) |
ssize_t | write (int fd, const void *buf, size_t count) |
ssize_t | read (int fd, void *buf, size_t count) |
Links to unistd documentation
void* _sbrk | ( | int | incr | ) |
Implementation of the sbrk systemcall for standalone software.
This system call is used when there is no more space for malloc.
Definition at line 34 of file sbrk.c.
References bsp_fatal(), and ERROR_OUT_OF_MEMORY.
Referenced by malloc().
void* malloc | ( | size_t | size | ) |
malloc is implemented in the newlib for standalone applications and uses pvPortMalloc when FreeRTOS is used.
Definition at line 17 of file helper_unistd_h.dox.
References _sbrk().
void free | ( | void * | ptr | ) |
void* calloc | ( | size_t | nmemb, |
size_t | size | ||
) |
void* realloc | ( | void * | ptr, |
size_t | size | ||
) |
ssize_t write | ( | int | fd, |
const void * | buf, | ||
size_t | count | ||
) |
Definition at line 40 of file helper_unistd_h.dox.
ssize_t read | ( | int | fd, |
void * | buf, | ||
size_t | count | ||
) |
Definition at line 48 of file helper_unistd_h.dox.