mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 05:25:04 +08:00
[libc][syscall]移除libc_stdio_read/write函数,优化syscall
This commit is contained in:
@@ -46,13 +46,4 @@ int libc_stdio_get_console(void) {
|
||||
return std_fd;
|
||||
}
|
||||
|
||||
int libc_stdio_read(void *buffer, size_t size)
|
||||
{
|
||||
return read(std_fd, buffer, size);
|
||||
}
|
||||
|
||||
int libc_stdio_write(const void *buffer, size_t size)
|
||||
{
|
||||
return write(std_fd, buffer, size);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user