Documentation Prolog Predicate Reference builtin stream_property/2

stream_property/2

Retrieve stream properties.

Description

stream_property( ?stream, ?stream_property )

stream_property(Stream, Property) is true if and only if Property is a property of Stream. If Stream is bound but Property is not, all Stream's properties will be listed. If it's the other way around, every Stream that has the property Property will be listed. Properties are fetched without blocking the stream.

Stream properties

The stream properties supported include:

Implementation