Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/getc.c File Reference
#include <kernel.h>
#include <device.h>
Go to the source code of this file.
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().