2 Predicate reference
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog binding to zlib
        • Predicate reference
          • zopen/3
          • gzopen/3
          • gzopen/4
Availability::- use_module(library(zlib)).(can be autoloaded)
Sourcegzopen(+File, +Mode, -Stream, +Options)
Open gzip compatible File for reading or writing. If a file is opened in =append= mode, a new gzip image will be added to the end of the file. The gzip standard defines that a file can hold multiple gzip images and inflating the file results in a concatenated stream of all inflated images. Options are passed to open/4 and zopen/3. Default format is gzip.