PUTCH(DOS) XENIX System V PUTCH(DOS)
Name
putch - Writes a character to the console.
Syntax
#include <conio.h>
void putch (c)
int c;
Description
The putch function writes the character c directly to the
console.
Return Value
There is no return value.
See Also
cprintf(DOS), getch(DOS), getche(DOS)
Example
#include <conio.h>
/* This example shows how the getche function could be
defined ** using putch and getch. */
int getche ( ) { int ch;
ch = getch ( ); putch (ch); return (ch); }
Notes
This call must be compiled with the -dos flag.
Page 1 (printed 8/7/87)