putchar---write a character (macro)
#include <stdio.h> int putchar(int ch); int _putchar_r(void *reent, int ch);
putchar is a macro, defined in
writes its argument to the standard output stream,
after converting it from an
int to an
The alternate function
_putchar_r is a reentrant version. The
extra argument reent is a pointer to a reentrancy structure.
putchar returns its argument ch. If an error
intervenes, the result is
EOF. You can use `
query for errors.
ANSI C requires
putchar; it suggests, but does not require, that
putchar be implemented as a macro.
Supporting OS subroutines required:
Go to the first, previous, next, last section, table of contents.