- open-output-file connection file #!optional modeprocedure
Create an output port that will write to the given file on the 9p connection connection. If the file exists, it is truncated. If it does not exist yet it will be created. If the optional mode is given, it determines with what permissions the file will be created, if it is a new file. See below for the list of file permissions.
Don't forget to close the output port (with close-output-port) when you finish writing to it!