4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-07 08:34:34 +08:00

29 lines
509 B
C
Raw Normal View History

/*
2021-03-08 18:19:04 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
*
2018-10-14 19:28:18 +08:00
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017/10/15 bernard the first version
*/
#ifndef __RTT_LIBC_H__
#define __RTT_LIBC_H__
#ifdef __cplusplus
extern "C" {
#endif
int libc_system_init(void);
2021-10-26 00:51:32 -04:00
#ifdef RT_USING_POSIX
int libc_stdio_get_console(void);
int libc_stdio_set_console(const char* device_name, int mode);
2021-10-26 00:51:32 -04:00
#endif /* RT_USING_POSIX */
#ifdef __cplusplus
}
#endif
#endif