2022-10-01 15:30:31 +00:00
|
|
|
#include "config.h"
|
|
|
|
#include "interrupts/Context.h"
|
|
|
|
#include "std/stdio.h"
|
|
|
|
|
2022-10-02 15:25:56 +00:00
|
|
|
void sys_getversion(Context* context, char* buffer, size_t max)
|
2022-10-01 15:30:31 +00:00
|
|
|
{
|
|
|
|
context->rax = snprintf(buffer, max, "moon %s", moon_version());
|
|
|
|
}
|