prg_tfile_generic_data_file_write()
Abstract
Writes a list of strings to a file.
Syntax
prg_tfile_generic_data_file_write (filename, file_type, list_ptr, options)
| Argument | Type | Description |
|---|---|---|
filename |
const char * |
Base file name of file to be written. |
file_type |
PrgT_Tfile_Type |
Typed file type of the file to be written. |
list_ptr |
PrgT_List * |
String list to be written to file. |
options |
int |
Must be PRGC_TFILE_GENERIC_DATA_WRITE_OPT_NONE. |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the file is written successfully; PrgC_Compcode_Failure otherwise.
Header
prg_file_funcs.h
Details
None.