diff options
| author | Meco Man <[email protected]> | 2021-09-21 12:51:26 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-09-21 12:51:26 -0400 |
| commit | c8c632512aa6c87211871fe0a85e77b72d4ebe06 (patch) | |
| tree | b6d51850cf0b940973a670ece8341ec469c85693 /components/libc/compilers/dlib/stdio.c | |
| parent | 13b0b60b1466b4a3eae34b5437ff35432de32c5e (diff) | |
[libc][syscall]移除libc_stdio_read/write函数,优化syscall
Diffstat (limited to 'components/libc/compilers/dlib/stdio.c')
| -rw-r--r-- | components/libc/compilers/dlib/stdio.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/components/libc/compilers/dlib/stdio.c b/components/libc/compilers/dlib/stdio.c index c11157d759..ed3f5dfef9 100644 --- a/components/libc/compilers/dlib/stdio.c +++ b/components/libc/compilers/dlib/stdio.c @@ -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 |
