Defining A Customized Prolog Stream

In addition to calling default open predicates or functions -- such as open/[3,4] or QP_fopen() to create a stream, a user can define a stream through the method described in this section. A common reason to do this is to create a stream, which is not supported directly by the Prolog input/output system, such as a stream for inter-process communication. The created stream can be passed as the stream argument to all the input/output related Prolog predicates and functions. This section presupposes fli-ios-sst on stream structure.