Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/putc.c File Reference
#include <kernel.h>
#include <device.h>
Go to the source code of this file.
Detailed Description
putc
- Id
- putc.c 226 2007-07-12 01:18:27Z mschul
Definition in file putc.c.
Function Documentation
devcall putc |
( |
ushort |
descrp, |
|
|
char |
ch | |
|
) |
| | |
putc - write a single character to a device
- Parameters:
-
| descrp | definition of device on which to write |
| ch | character to write |
- Returns:
- function to write character on success, SYSERR on failure
Definition at line 18 of file putc.c.
References devtab, isbaddev, dentry::putc, and SYSERR.
Referenced by fprintf(), and fputs().