am 047a285d
: Merge "Fix <sys/klog.h> to correspond to the kernel operations."
* commit '047a285d41e3fe0b1a8071ec19f436baf6f187b2': Fix <sys/klog.h> to correspond to the kernel operations.
This commit is contained in:
commit
f8902bf707
1 changed files with 18 additions and 10 deletions
|
@ -32,17 +32,25 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#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
|
||||
/* These correspond to the kernel's SYSLOG_ACTION_whatever constants. */
|
||||
#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_CONSOLE_OFF 6
|
||||
#define KLOG_CONSOLE_ON 7
|
||||
#define KLOG_CONSOLE_LEVEL 8
|
||||
#define KLOG_SIZE_UNREAD 9
|
||||
#define KLOG_SIZE_BUFFER 10
|
||||
|
||||
/* These are deprecated names that were used in earlier bionic releases. Do not use. */
|
||||
#define KLOG_DISABLE 6
|
||||
#define KLOG_ENABLE 7
|
||||
#define KLOG_SETLEVEL 8
|
||||
#define KLOG_UNREADSIZE 9
|
||||
#define KLOG_WRITE 10
|
||||
#define KLOG_WRITE 10
|
||||
|
||||
extern int klogctl(int, char *, int);
|
||||
|
||||
|
|
Loading…
Reference in a new issue