|
Purpose |
Writes a line of text to an ASCII file | |
|
Old name |
#define _dfwtln tf_txt_write | |
|
Syntax |
void tf_txt_write(file_handle, string) | |
|
Parameters |
int file_handle |
File handle of the file |
|
|
char* string |
Null-terminated character string to write to file |
|
Description |
The tf_txt_write() function writes the string to the current position of the file pointer in the file and appends the end-of-line characters depending on the operating system (DOS/Windows appends a carriage return and the line feed character, but UNIX only uses a line feed). | |
|
See also |
||