Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/read.c File Reference

#include <kernel.h>
#include <device.h>

Include dependency graph for read.c:

Go to the source code of this file.

Functions

devcall read (ushort descrp, void *buffer, long count)


Detailed Description

read

Id
read.c 226 2007-07-12 01:18:27Z mschul

Definition in file read.c.


Function Documentation

devcall read ( ushort  descrp,
void *  buffer,
long  count 
)

read - read one or more bytes from a device

Parameters:
descrp definition of device from which to read
*buffer pointer into read-to location
count length of buffer
Returns:
function to read from device on success, SYSERR on failure

Definition at line 19 of file read.c.

References devtab, isbaddev, dentry::read, and SYSERR.

Referenced by shell().


Generated on Thu Oct 9 22:35:09 2008 for xinu by  doxygen 1.5.5