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

#include "stddef.h"

#include "memorymanagement.h"

char *itoa( int v, char *s, int base );

void __attribute__( (noreturn ) ) exit( int status );
void __attribute__( (noreturn ) ) abort( void );

void *malloc( size_t size );
void free( void *p );

void __stdlib_set_memory_manager( memory_manager_t *memory_manager );

#endif // STDLIB_H