| c_list_error_t c_list_fill_generic | ( | c_list_t * | c_list, |
| int | min, | ||
| int | max, | ||
| int | step, | ||
| int | divider, | ||
| int | precision, | ||
| const char * | postfix, | ||
| const char * | prefix | ||
| ) |
Create list using min, max, step.
Create a list given a min value, max value and step size. The string for each entry will be generated using the divider and precision parameters. For example, if divider is 1000 and precision is 3, the value 1000 will be represented as "1.000". Furthermore, each string will have the prefix and postfix added to the string.
| [in] | c_list | list object |
| [in] | min | minimum value in list |
| [in] | max | maximum value in list |
| [in] | step | step size used to create values between min and max |
| [in] | divider | divider used to create string |
| [in] | precision | precision (number of digits after decimal point) used to create string |
| [in] | postfix | string to the appended to end of string |
| [in] | prefix | string to be prepended to beginning of string |