close-output-port

Name

close-output-port -- Close an output port

Type: function

Synopsis

close-output-port( port, );

Arguments

port

An instance of <output-port>

Description

Closes the output port port. Signals an error if the output port has already closed. Certain implementations may also signal an error if something goes wrong, like buffered data could not be written to the media.