summaryrefslogtreecommitdiff
path: root/src/libc/stdlib.h
blob: f7cfc8c26ae4c9cb8b58fdb5b9d0f4038b239396 (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