Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
printk-hooks.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Google LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
13#define ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
14
22typedef int (*printk_hook_fn_t)(int c);
23
31void __printk_hook_install(printk_hook_fn_t fn);
32
41printk_hook_fn_t __printk_get_hook(void);
42
43#endif /* ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_ */
int(* printk_hook_fn_t)(int c)
printk function handler
Definition printk-hooks.h:22