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

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

Include dependency graph for getc.c:

Go to the source code of this file.

Functions

devcall getc (ushort descrp)


Detailed Description

getc

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

Definition in file getc.c.


Function Documentation

devcall getc ( ushort  descrp  ) 

getc - get one character from a device

Parameters:
descrp definition of device from which to acquire character
Returns:
function to get character on success, SYSERR on failure

Definition at line 17 of file getc.c.

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

Referenced by fgets(), and getch().


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