/usr/lib/klibc/include/sys/klog.h is in libklibc-dev 1.5.25-1ubuntu2.
This file is owned by root:root, with mode 0o664.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /*
* sys/klog.h
*/
#ifndef _SYS_KLOG_H
#define _SYS_KLOG_H
#include <klibc/extern.h>
#define KLOG_CLOSE 0
#define KLOG_OPEN 1
#define KLOG_READ 2
#define KLOG_READ_ALL 3
#define KLOG_READ_CLEAR 4
#define KLOG_CLEAR 5
#define KLOG_DISABLE 6
#define KLOG_ENABLE 7
#define KLOG_SETLEVEL 8
#define KLOG_UNREADSIZE 9
#define KLOG_WRITE 10
__extern int klogctl(int, char *, int);
#endif /* _SYS_KLOG_H */
|