Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     GETCHAR(K)                UNIX System V                GETCHAR(K)



     Name
          getchar - gets one character of input

     Syntax
          int
          getchar()

     Description
          getchar can be used to temporarily halt execution of the
          kernel, and get input from a user.

     Return Value
          getchar returns the character typed at the keyboard.

     Example:
          debug = getchar();
          debug -= '0';

     See Also
          putchar(K)

                                                      (printed 7/6/89)



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