fputs.c File Reference
Implements the functions: fputs.
More...
Go to the source code of this file.
|
Functions |
| int | putc (int, char) |
| | putc - write a single character to a device
|
| int | fputs (char *s, int dev) |
| | Write a null-terminated string to a device (file).
|
Detailed Description
Implements the functions: fputs.
- Id
- fputs.c 268 2007-07-31 13:45:57Z agember
Definition in file fputs.c.
Function Documentation
| int fputs |
( |
char * |
s, |
|
|
int |
dev | |
|
) |
| | |
Write a null-terminated string to a device (file).
- Parameters:
-
| dev | device to write to |
| *s | string to write |
- Returns:
- result of last putc
Definition at line 17 of file fputs.c.
References putc().
| 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.
References isbaddev, and SYSERR.