diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-09-14 21:07:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-09-14 21:07:02 +0000 |
commit | 5d0b2f75eb865751a8591b332da8d96583442232 (patch) | |
tree | 55c834bc354c9be2895364e4520bca4ff9889187 /cpukit/libcsupport | |
parent | 2002-09-14 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5d0b2f75eb865751a8591b332da8d96583442232.tar.bz2 |
2002-09-14 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Change rtems_filesystem_read_t and
rtems_filesystem_write_t to return ssize_t to match read(2)
and write(2) respectively.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index d88e9059cf..1de58634a4 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,9 @@ +2002-09-14 Joel Sherrill <joel@OARcorp.com> + + * include/rtems/libio.h: Change rtems_filesystem_read_t and + rtems_filesystem_write_t to return ssize_t to match read(2) + and write(2) respectively. + 2002-09-14 Eric Norum <eric.norum@usask.ca> * src/readdir_r.c: New file. diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index d95e5c375e..a3a21f23d8 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -56,13 +56,13 @@ typedef int (*rtems_filesystem_close_t)( rtems_libio_t *iop ); -typedef int (*rtems_filesystem_read_t)( +typedef ssize_t (*rtems_filesystem_read_t)( rtems_libio_t *iop, void *buffer, unsigned32 count ); -typedef int (*rtems_filesystem_write_t)( +typedef ssize_t (*rtems_filesystem_write_t)( rtems_libio_t *iop, const void *buffer, unsigned32 count |