summaryrefslogtreecommitdiff
path: root/src/include/stdlib.h
blob: 8d37b39bebe482eddcc7dd200a03cbcc2df4d4b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef STDLIB_H
#define STDLIB_H

#include <stddef.h>

extern void *malloc(size_t size);
extern void *realloc(void *mem, size_t size);
void free(void *ptr);

/* Extensions to malloc... */
typedef size_t malloc_mark_t;
void malloc_mark(malloc_mark_t *place);
void malloc_release(malloc_mark_t *place);

#endif /* STDLIB_H */