fputc.c File Reference
Implements the functions: fputc.
More...
Go to the source code of this file.
|
Functions |
| int | putc (int, char) |
| | putc - write a single character to a device
|
| int | fputc (int c, int dev) |
| | Write a character string to a device (file).
|
Detailed Description
Implements the functions: fputc.
- Id
- fputc.c 404 2008-01-04 21:12:51Z mschul
Definition in file fputc.c.
Function Documentation
| int fputc |
( |
int |
c, |
|
|
int |
dev | |
|
) |
| | |
Write a character string to a device (file).
- Parameters:
-
| c | string to write |
| dev | device to write to |
- Returns:
- character written, EOF if error
Definition at line 20 of file fputc.c.
References EOF, putc(), and SYSERR.
| int putc |
( |
int |
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.