[r6rs-discuss] Question on buffer modes
R. Kent Dybvig
dyb at cs.indiana.edu
Thu May 24 09:18:42 EDT 2007
> But there are also some other situations where it's desirable
> to be able to close the underlying standard input and standard
> output ports. Returning a fresh port each times makes
> (close-output-port (standard-output-port)) a no-op.
You might be able to accomplish this by closing the port returned by
current-input-port or current-output-port, but whether doing so actually
closes the underlying O/S file descriptor is up to the implementation.
Kent
More information about the r6rs-discuss
mailing list