Skip to main content
Version: Next

get_char/2

Description

get_char/2 is a predicate that reads a character from a stream.

Signature

get_char(+Stream, ?Char)

Where:

  • Stream is the stream to read from.
  • Char is unified with the character read.