declare #process-input has


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


By default, #process-input is read from in text mode: this is the default setting for non-UNIX systems. Additionally, by default #process-input is buffered. declare #process-input has allows this behavior to be changed explicitly. Changing both the mode and the buffering is possible, but requires two declarations.

For example:

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

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