summaryrefslogblamecommitdiff
path: root/src/library/start.c
blob: 9324ccb0575c50d291395a5b7a50eaca3fedff19 (plain) (tree)
1
2
3
4
5
6





                                                     
extern int main();

void start() {
	int ret = main();
	asm volatile("int $64" : : "a"(3), "b"(ret));
}