device_read()
rtems_libio_t *iop, void *buffer, unsigned32 count
deviceio.c
This routine will extract the major and minor numbers for the device from the - jnode- associated with the file descriptor.
A rtems_io_read() call will be made to the device driver associated with the file descriptor. The major and minor device number will be sent as arguments as well as an argument list consisting of:
On return from the rtems_io_read() the number of bytes that were actually read will be returned to the calling program.
Copyright © 1988-2004 OAR Corporation