YAP 7.1.0
Library

Read full lines and a full file in a single call. More...

Detailed Description

Read full lines and a full file in a single call.

Modules

 expressions
 This library provides lambda expressions to simplify higher order programming based on call/N.
 

Class Documentation

◆ read_line_to_codes/2

class read_line_to_codes/2

read_line_to_codes( +_Stream_, -_String_)

If Stream is a readable text stream, unify String with the Prolog string storing the codes forming the first line of the stream

If the stream is exhausted, unify Codes with end_of_file

◆ read_stream_to_codes/3

class read_stream_to_codes/3

read_stream_to_codes( +_Stream_, -Codes, ?_Tail_)

If Stream is a readable text stream, unify String with the difference list storing the codes forming the first line of the stream

If the stream is exhausted, unify Codes with end_of_file

◆ read_stream_to_terms/3

class read_stream_to_terms/3

read_stream_to_terms( +_Stream_, -Terms, ?_Tail_)

If Stream is a readable text stream, unify String with the difference list storing the Prolog terms in the stream

If the stream is exhausted, unify Codes with end_of_file

Function Documentation

◆ Yap_InitReadUtil()

void Yap_InitReadUtil ( void  )

Definition at line 319 of file readutil.c.

Functions

void Yap_InitReadUtil (void)