Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putch(DOS) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cprintf(DOS)

getch(DOS)

getche(DOS)



     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)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026