初始提交
This commit is contained in:
23
Project/Src/rt-thread/components/libc/compilers/dlib/libc.h
Normal file
23
Project/Src/rt-thread/components/libc/compilers/dlib/libc.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* 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__
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
int libc_system_init(void);
|
||||
|
||||
int libc_stdio_set_console(const char* device_name, int mode);
|
||||
int libc_stdio_get_console(void);
|
||||
int libc_stdio_read (void *buffer, size_t size);
|
||||
int libc_stdio_write(const void *buffer, size_t size);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user