Luna/kernel/src/sys/version.cpp

8 lines
209 B
C++
Raw Normal View History

#include "config.h"
#include "interrupts/Context.h"
#include "std/stdio.h"
void sys_version(Context* context, char* buffer, size_t max)
{
context->rax = snprintf(buffer, max, "moon %s", moon_version());
}