TTY

API for emulated serial teriminals.

Functions

int metal_tty_putc(unsigned char c)

Write a character to the default output device.

Write a character to the default output device, which for most targets is the UART serial port.

Return
0 on success, or -1 on failure.
Parameters
  • c: The character to write to the terminal