declare #process-output has

declaration/definition

Syntax
declare #process-output has (binary-mode | text-mode | buffered | unbuffered)
    


Purpose

By default, #process-output is written to in text mode: this is the default setting. Additionally, by default #process-output is buffered. declare #process-output has allows this behaviour to be changed explicitly. Changing both the mode and the buffering is possible, but requires two declarations.

For example:

  declare #process-output has binary-mode
  declare #process-output has unbuffered
          

This declaration should always be used in preference to the newline declaration for performing binary input or output.