//  TESTIO_C    Test character I/O from C
//  (syntax acceptable to gcc, ecc, cc_bundled)
//  (ecc complains about anachronisms, however)

#include <stdio.h>

    long long int NL = '\n';    // Newline code
    extern long long int chrget();
    extern long long int chrput();

int main()
{
    long long int c;
    c = chrget();              // c = keystroke character
    chrput(c);                 // Send it back to screen
    chrput(NL);                // Send a newline to flush
    return 0;                  // Back to command line
}