aboutsummaryrefslogtreecommitdiff
path: root/include/rt.h
blob: ce92af07bb6998931fbfe491e82b82865be27517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

extern struct rt·Context
{
    void (*fini)(void);
    void (*exit)(void);

	uintptr *auxv;
	uintptr  pagesize;
	uintptr  sysinfo;
} rt·context;

extern char **rt·environ;

int  rt·atexit(void (*func)(void *), void *arg);
void noreturn rt·exit(int code);