|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One line at a time, found by counting, as the automatic test's report is (servo_report.c): a cursor walks the lines in order and prints the one asked for. More...
Data Fields | |
| unsigned | want |
| unsigned | at |
| char * | buf |
| size_t | n |
| const char *const * | text |
| const char * | text |
| size_t | len |
| size_t | pos |
| unsigned | line |
One line at a time, found by counting, as the automatic test's report is (servo_report.c): a cursor walks the lines in order and prints the one asked for.
Reading position in the file text.
| unsigned cur_t::at |
index of the next line
| char* cur_t::buf |
out: the line
| size_t cur_t::len |
bytes in text
| unsigned cur_t::line |
number of the line asked for last, from 1
| size_t cur_t::n |
size of buf, bytes
| size_t cur_t::pos |
start of the next line
| const char* cur_t::text |
the file text
| const char* const* cur_t::text |
the language table; NULL for English
| unsigned cur_t::want |
index asked for