fputc


Write character to stream (same as putc)

Remark

These functions are not supported by the debugging functions which CS+ provides.

[Classification]

Standard library

[Syntax]

#include <stdio.h>

int fputc(int c, FILE *stream);

[Return value]

The character c is returned.

Error return does not occur.

[Description]

This functionoutputs the character c to the output stream pointed to by stream. Only the standard input/output stdout or stderr can be specified for stream.

[Example]

#include    <stdio.h>
void func(void) {
        fputc('a', stdout);
}