Loads information from the specified properties file into the specified properties object.
The file is assumed to follow the syntax of a standard Java properties file.
#include "am_properties.h" AM_EXPORT am_status_t am_properties_load(am_properties_t properties, const char *file_name);
This function takes the following parameters:
The specified properties object.
Pointer to a properties file.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If no error has occurred.
If the specified file does not exist.
If there is a problem accessing the file.
If properties or file_name is NULL or file_name points to an empty string.
If unable to allocate memory to store the property information.