|
||
int fputc( int c, FILE *fp )
int c; /* a character, widened to int */ FILE *fp; /* output stream pointer */
|
|
|
Synopsis |
#include "stdio.h"
The fputc function writes the character c to the file associated with fp .
|
|
Parameters |
c is a character. fp is a stream pointer, opened for output.
|
|
Return Value |
fputc returns c if successful, or EOF (-1) if not.
|
|
Comments |
fputc is identical to putc .
|
|
See Also |
|
|
|
|