tickit_stringpos_zero - Man Page

clear the fields of a string position counter

Synopsis

#include <tickit.h>

void tickit_stringpos_zero(TickitStringPos *pos);

Link with -ltickit.

Description

tickit_stringpos_zero() sets the four counter fields of pos to zero. This operation is done implictly 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.

Return Value

tickit_stringpos_zero() returns no value.

See Also

tickit_utf8_count(3), tickit_stringpos_limit_bytes(3), tickit(7)

Referenced By

tickit_stringpos_limit_bytes(3), tickit_utf8_count(3).