diff options
| author | Meco Man <[email protected]> | 2021-09-11 18:33:46 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-09-11 18:33:46 -0400 |
| commit | c48445a5f7cdf86d9724b1fa2ca9090b433845e7 (patch) | |
| tree | baef6520ac90b955b22f4ac011a8a1b56191f566 /components/libc/compilers/common | |
| parent | 2c525ecd43cfee01cffd4d1d289ebdb5935674a5 (diff) | |
[标准化libc] fix CI warning
Diffstat (limited to 'components/libc/compilers/common')
| -rw-r--r-- | components/libc/compilers/common/none-gcc/sys/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/none-gcc/sys/unistd.h b/components/libc/compilers/common/none-gcc/sys/unistd.h index f86d56282c..6195c4c2aa 100644 --- a/components/libc/compilers/common/none-gcc/sys/unistd.h +++ b/components/libc/compilers/common/none-gcc/sys/unistd.h @@ -18,8 +18,8 @@ #define STDOUT_FILENO 1 /* standard output file descriptor */ #define STDERR_FILENO 2 /* standard error file descriptor */ -int read(int fd, void *buf, size_t len); -int write(int fd, const void *buf, size_t len); +ssize_t read(int fd, void *buf, size_t len); +ssize_t write(int fd, const void *buf, size_t len); off_t lseek(int fd, off_t offset, int whence); int fsync(int fildes); int unlink(const char *pathname); |
