4.18 Status of streams
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Status of streams
          • wait_for_input/3
          • byte_count/2
          • character_count/2
          • line_count/2
          • line_position/2
    • Packages
Availability:built-in
character_count(+Stream, -Count)
Unify Count with the current character index. For input streams this is the number of characters read since the open; for output streams this is the number of characters written. Counting starts at 0.