Zephyr API Documentation 4.0.0-rc3
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
7#ifndef ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
8#define ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
9
17typedef int (*printk_hook_fn_t)(int c);
18
26void __printk_hook_install(printk_hook_fn_t fn);
27
36printk_hook_fn_t __printk_get_hook(void);
37
38#endif /* ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_ */
int(* printk_hook_fn_t)(int c)
printk function handler
Definition printk-hooks.h:17