mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 20:54:18 +08:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user