12.9.1 Get IO stream handles
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Foreign access to Prolog IO streams
          • Get IO stream handles
            • PL_get_stream()
            • PL_get_stream_from_blob()
            • PL_acquire_stream()
            • PL_release_stream()
    • Packages
Availability:C-language interface function
int PL_get_stream_from_blob(atom_t b, IOSTREAM **s, int flags)
Same as PL_get_stream(), but operates directly on the blob b. This allows for foreign code that wishes long term access to a stream to maintain a handle to the stream as a (registered) atom_t object rather than a IOSTREAM*.