TICKIT_STRINGPOS_ZERO(3) | Library Functions Manual | TICKIT_STRINGPOS_ZERO(3) |
tickit_stringpos_zero - clear the fields of a string position counter
#include <tickit.h> void tickit_stringpos_zero(TickitStringPos *pos);
Link with -ltickit.
tickit_stringpos_zero() sets the four counter fields of pos to zero. This operation is done implicitly by tickit_utf8_count(3), but this function may be useful to initialise a counter to zeros before entering a loop, and using tickit_utf8_countmore(3) for every iteration.
tickit_stringpos_zero() returns no value.
tickit_utf8_count(3), tickit_stringpos_limit_bytes(3), tickit(7)