rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
cur_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ at

unsigned cur_t::at

index of the next line

◆ buf

char* cur_t::buf

out: the line

◆ len

size_t cur_t::len

bytes in text

◆ line

unsigned cur_t::line

number of the line asked for last, from 1

◆ n

size_t cur_t::n

size of buf, bytes

◆ pos

size_t cur_t::pos

start of the next line

◆ text [1/2]

const char* cur_t::text

the file text

◆ text [2/2]

const char* const* cur_t::text

the language table; NULL for English

◆ want

unsigned cur_t::want

index asked for


The documentation for this struct was generated from the following files: