Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/linux/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/io.c b/newlib/libc/sys/linux/io.c
index 242c7cbf8..8da724e1f 100644
--- a/newlib/libc/sys/linux/io.c
+++ b/newlib/libc/sys/linux/io.c
@@ -20,9 +20,9 @@
#define __NR___flock __NR_flock
#define __NR___mknod __NR_mknod
-_syscall3(int,read,int,fd,void *,buf,size_t,count)
+_syscall3(ssize_t,read,int,fd,void *,buf,size_t,count)
_syscall3(ssize_t,readv,int,fd,const struct iovec *,vec,int,count)
-_syscall3(int,write,int,fd,const void *,buf,size_t,count)
+_syscall3(ssize_t,write,int,fd,const void *,buf,size_t,count)
_syscall3(ssize_t,writev,int,fd,const struct iovec *,buf,int,count)
_syscall3(int,open,const char *,file,int,flag,mode_t,mode)
_syscall1(int,close,int,fd)