PatchworkOS
Loading...
Searching...
No Matches
log_file.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4
16#define LOG_FILE_MAX_BUFFER 0x10000
17
21void log_file_expose(void);
22
27
34void log_file_write(const char* string, uint64_t length);
35
void log_file_flush_to_screen(void)
Flush the content of the log file to the screen.
Definition log_file.c:85
void log_file_expose(void)
Expose the kernel log file to userspace in sysfs.
Definition log_file.c:58
void log_file_write(const char *string, uint64_t length)
Write a string to the kernel log file.
Definition log_file.c:125
__UINT64_TYPE__ uint64_t
Definition stdint.h:17