Files
mango/syscall/log.c

10 lines
202 B
C
Raw Normal View History

2026-02-19 19:21:50 +00:00
#include <kernel/printk.h>
#include <kernel/sched.h>
kern_status_t sys_kern_log(const char *s)
{
struct task *task = current_task();
printk("%s: %s", task->t_name, task->t_id, s);
2026-02-19 19:21:50 +00:00
return KERN_OK;
}