centos man page for kmsg_dump_get_buffer

Query: kmsg_dump_get_buffer

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KMSG_DUMP_GET_BUFFER(9) 					   Driver Basics					   KMSG_DUMP_GET_BUFFER(9)

NAME
kmsg_dump_get_buffer - copy kmsg log lines
SYNOPSIS
bool kmsg_dump_get_buffer(struct kmsg_dumper * dumper, bool syslog, char * buf, size_t size, size_t * len);
ARGUMENTS
dumper registered kmsg dumper syslog include the "<4>" prefixes buf buffer to copy the line to size maximum size of the buffer len length of line placed into buffer
DESCRIPTION
Start at the end of the kmsg buffer and fill the provided buffer with as many of the the *youngest* kmsg records that fit into it. If the buffer is large enough, all available kmsg records will be copied with a single call. Consecutive calls will fill the buffer with the next block of available older records, not including the earlier retrieved ones. A return value of FALSE indicates that there are no more records to read.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KMSG_DUMP_GET_BUFFER(9)
Related Man Pages
klogctl(2) - linux
syslog(2) - suse
dmesg(1) - php
dmesg(1) - posix
dmesg(1) - xfree86
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Controlling user input