mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
b824f15619
This is so cool! It's a bit messy now with two Task constructors, but eventually they should fold into a single constructor somehow.
14 lines
269 B
C++
14 lines
269 B
C++
#include <Kernel/Syscall.h>
|
|
|
|
extern "C" int main(int, char**);
|
|
|
|
extern "C" int _start()
|
|
{
|
|
// FIXME: Pass appropriate argc/argv.
|
|
int status = main(0, nullptr);
|
|
|
|
Syscall::invoke(Syscall::PosixExit, status);
|
|
|
|
// Birger's birthday <3
|
|
return 20150614;
|
|
}
|