chickadee » chicken » port » set-buffering-mode!

set-buffering-mode! PORT MODE #!optional BUFSIZEprocedure

Sets the buffering-mode for the file associated with PORT to MODE, which should be one of the keywords #:full, #:line or #:none. If BUFSIZE is specified it determines the size of the buffer to be used (if any).

This procedure doesn't work on custom ports, such as those created with make-input-port or make-output-port.