• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.23 library(iostream): Utilities to deal with streams
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(iostream): Utilities to deal with streams
          • open_any/5
          • close_any/1
          • open_hook/6
    • Packages
Availability::- use_module(library(iostream)).
Source[semidet,multifile]open_hook(+Spec, +Mode, -Stream, -Close, +Options0, -Options)
Open Spec in Mode, producing Stream.
Close is unified to a goal that must be called to undo the side-effects of the action, e.g., typically the term close(Stream)
Options0 are the options passed to open_any/5
Options are passed to the post processing filters that may be installed by open_any/5.
ClioPatria (version V3.1.1-51-ga0b30a5)