Skip to content

xmap_Read_File

Brian W. Mulligan edited this page May 13, 2016 · 4 revisions

void Read_File(const char * i_lpszFilename)

Read from an ASCII file. The file is expected to have a format like

parameter1_name = parameter1_value
parameter2_name= parameter2_value
parameter3_name =parameter3_value
parameter4_name=parameter4_value
parameter5_name parameter5_value
# comment

The value may have any type. Comment lines (lines starting with #) are ignored. Parameter names must not contain spaces, but may contain numbers or special characters.

Parameters

  • i_lpszFilename (const char *): full path and filename to the file to read.

Outputs

None.

Fault response

Output message to stderr if unable to open the file. errno is not set.