A.22 library(iostream): Utilities to deal with streams
AllApplicationManualNameSummaryHelp

  • 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.