12.2.2 I/O

SP_get_byte()

gets a byte from a Prolog binary input stream

SP_get_code()

gets a character code from a Prolog input text stream

SP_unget_byte()
SP_unget_code()

Ungets a byte or character, respectively.

SP_fprintf()
SP_printf()

prints formatted output on a Prolog output text stream

SP_put_byte()
SP_put_bytes()

Writes one or more bytes to a Prolog output binary stream.

SP_put_code()
SP_put_codes()
SP_put_encoded_string()

Writes one or more characters to a Prolog output text stream.


Send feedback on this subject.