rt-thread/components/libc/compilers/newlib/libc.h

29 lines
523 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
*/
2013-01-08 22:40:58 +08:00
#ifndef __RTT_LIBC_H__
#define __RTT_LIBC_H__
2018-09-30 09:41:43 +08:00
#ifndef _EXFUN
2021-02-11 16:29:14 +08:00
#define _EXFUN(name, proto) name proto
2018-09-30 09:41:43 +08:00
#endif
#ifdef __cplusplus
extern "C" {
#endif
int libc_system_init(void);
int libc_stdio_set_console(const char* device_name, int mode);
int libc_stdio_get_console(void);
2013-01-08 22:40:58 +08:00
#ifdef __cplusplus
}
#endif
2013-01-08 22:40:58 +08:00
#endif