Availability:C-language interface function
int PL_unify_stream(term_t 
t, IOSTREAM *s)Unify t with a blob that points at s. 
Note that a blob provides a unique and reliable reference to a stream. 
Blobs are subject to atom garbage collection. If an open stream 
is garbage collected the behaviour depends on the Prolog flag
agc_close_streams. 
See also Sgcclose().