2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE to _ssize_t. * libc/sys/linux/io.c (read, write): Change to return ssize_t.
This commit is contained in:
parent
d427d09204
commit
2e78444a3e
|
@ -1,3 +1,9 @@
|
|||
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
|
||||
to _ssize_t.
|
||||
* libc/sys/linux/io.c (read, write): Change to return ssize_t.
|
||||
|
||||
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/include/stdio.h (__getline, __getdelim): New prototypes.
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
#define __DYNAMIC_REENT__
|
||||
#define HAVE_GETDATE
|
||||
#define _HAVE_SYSTYPES
|
||||
#define _READ_WRITE_RETURN_TYPE _ssize_t
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue