summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/linux/klogctl.c
diff options
context:
space:
mode:
Diffstat (limited to '05/musl-0.6.0/src/linux/klogctl.c')
-rw-r--r--05/musl-0.6.0/src/linux/klogctl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/05/musl-0.6.0/src/linux/klogctl.c b/05/musl-0.6.0/src/linux/klogctl.c
new file mode 100644
index 0000000..976f29e
--- /dev/null
+++ b/05/musl-0.6.0/src/linux/klogctl.c
@@ -0,0 +1,6 @@
+#include "syscall.h"
+
+int klogctl (int type, char *buf, int len)
+{
+ return syscall3(__NR_syslog, type, (long)buf, len);
+}