◆ fiftyoneDegreesTextFileIterate()
| EXTERNAL void fiftyoneDegreesTextFileIterate | ( | const char * | fileName, |
| const char * | buffer, | ||
| int | length, | ||
| void * | state, | ||
| void(*)(const char *, void *) | callback | ||
| ) |
Iterates over all the lines in a text file calling the callback method with each line.
- Parameters
-
- fileName - name of the file to iterate over
- buffer - to use for reading lines into
- length - of the buffer
- state - pointer to pass to the callback method
- callback - method to call with each line
