chickadee » 9p » call-with-output-file

call-with-output-file connection file procedureprocedure

Open file on the 9p connection connection and call procedure with an output-port that corresponds to the file. When the procedure finishes, the port is closed. Procedure should accept one argument, the output-port.