Writing to files

You can use the following library functions to write to a terminal file; see z/OS XL C/C++ Runtime Library Reference for more information on these library functions.

If no record length is specified for the output terminal file, it defaults to the virtual line size of the terminal.

On output, records are written one line at a time up to the record length. For all output terminal files, records are not truncated. If you are printing a long string, it wraps around to another line.