Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>cputc</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CPUTC

  .  Summary

  cputc(int <character>);

  .  Description

  The cputc function sends <character> to the communications port.
  This is the ASCII value of the character to be sent.

  .  Return Value

  A non-zero (TRUE) value is returned unless the character can not be
  sent for some reason, in which case a value of -1 is returned.

  .  Example

  cputc('A');
  cputc(27);          // send Escape to the comm port
  cputc('M');        // send Ctrl-M (Carriage Return)
  cputc(inkeyw());

See Also: cputs ASCII table

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson