get_char/2

"get_char(+ S,- C" ) is iso

If C is unbound, or is an atom representation of a character, and the stream S is a text stream, read the next character from that stream and unify its representation as an atom with C.