mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
* syscalls.cc (_read): Change definition to return ssize_t to be consistent
with read. (_write): Change definition to return ssize_t to be consistent with write.
This commit is contained in:
parent
8f98585d51
commit
6ebccdc110
@ -1,3 +1,10 @@
|
||||
Wed Mar 7 15:49:47 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* syscalls.cc (_read): Change definition to return ssize_t to be
|
||||
consistent with read.
|
||||
(_write): Change definition to return ssize_t to be consistent with
|
||||
write.
|
||||
|
||||
Wed Mar 7 01:08:21 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* sigproc.h (sigthread): Declare new methods. Create new winapi_lock
|
||||
|
@ -226,7 +226,7 @@ setsid (void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
extern "C" ssize_t
|
||||
_read (int fd, void *ptr, size_t len)
|
||||
{
|
||||
sigframe thisframe (mainthread);
|
||||
@ -280,7 +280,7 @@ out:
|
||||
return res;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
extern "C" ssize_t
|
||||
_write (int fd, const void *ptr, size_t len)
|
||||
{
|
||||
int res = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user