summaryrefslogtreecommitdiff
path: root/LibC/stdlib.h
blob: 0cd6a8e2c8cf026d3c7c7bce81e4da0b8dfff339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <sys/cdefs.h>
#include <sys/types.h>

__BEGIN_DECLS

void* malloc(size_t) __MALLOC;
void free(void*);
void* calloc(size_t nmemb, size_t);
void* realloc(void *ptr, size_t);
char* getenv(const char* name);
int atoi(const char*);

void exit(int status) __NORETURN;
void abort() __NORETURN;

__END_DECLS