1 2 3 4 5 6 7
#include <sys/klog.h> #include "syscall.h" int klogctl (int type, char *buf, int len) { return syscall(SYS_syslog, type, buf, len); }