12.9.2 Creating an IO stream
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Foreign access to Prolog IO streams
          • Creating an IO stream
            • Snew()
            • Sopen_pipe()
            • Sopenmem()
            • Sfree()
            • PL_unify_stream()
    • Packages
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().