sdk-hwV1.3/lichee/xr806/appos/include/libc/stdio.h

29 lines
428 B
C
Executable File

#ifndef _LIBC_STDIO_H_
#define _LIBC_STDIO_H_
#include_next <stdio.h>
#ifdef CONFIG_LIBC_WRAP_STDIO
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*stdio_write_fn)(const char *buf, int len);
void stdio_set_write(stdio_write_fn fn);
void stdout_mutex_lock(void);
void stdout_mutex_unlock(void);
#undef putc
#undef putchar
#ifdef __cplusplus
}
#endif
#endif /* CONFIG_LIBC_WRAP_STDIO */
#endif /* _LIBC_STDIO_H_ */