lib: micro-c: implement sbrk emulation and dlmalloc
This commit is contained in:
13
lib/ulibc/include/stdlib.h
Normal file
13
lib/ulibc/include/stdlib.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef STDLIB_H_
|
||||
#define STDLIB_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
extern void abort(void);
|
||||
|
||||
extern void *malloc(size_t count);
|
||||
extern void *calloc(size_t count, size_t size);
|
||||
extern void *realloc(void *p, size_t count);
|
||||
extern void free(void *p);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user