tf_txt_close()

Purpose

Append <Ctrl+Z> to an ASCII file

Old name

#define _dfclose tf_txt_close

Syntax

void tf_txt_close(file_handle)

Parameters

int file_handle

File handle

Description

The tf_txt_close() function appends <Ctrl+Z> to an ASCII file if necessary (for the DOS and CCPM operating systems) then closes the file. The file handle should be at the end of the file before calling this function.

Use this function when you have generated new files.

See also

tf_close()