putchar Function (Macro)

stdio.h

#define putchar fputchar

Outputs a character to the screen in TTY mode.

Outputs a character c to the screen in TTY mode. This means the following:

All TI fonts are supported.

putchar returns the character c (ANSI C proposes returning EOF in a case of error, but printing on TIOS can not fail).

Note: In ANSI C, putchar(c) is equal as putc(c, stdout), so it can be redirected using freopen. This is not possible here, because stdout is not implemented as a file stream.


Uses: fputchar