HelenOS sources

KLOG_WRITE        307 kernel/generic/src/log/log.c 	case KLOG_WRITE:
KLOG_WRITE         46 uspace/lib/c/generic/io/klog.c 	return (errno_t) __SYSCALL4(SYS_KLOG, KLOG_WRITE, (sysarg_t) buf,
HelenOS homepage, sources at GitHub