1TICKIT_STRINGPOS_ZERO(3) Library Functions Manual TICKIT_STRINGPOS_ZERO(3)
2
3
4
6 tickit_stringpos_zero - clear the fields of a string position counter
7
9 #include <tickit.h>
10
11 void tickit_stringpos_zero(TickitStringPos *pos);
12
13 Link with -ltickit.
14
16 tickit_stringpos_zero() sets the four counter fields of pos to zero.
17 This operation is done implicitly by tickit_utf8_count(3), but this
18 function may be useful to initialise a counter to zeros before entering
19 a loop, and using tickit_utf8_countmore(3) for every iteration.
20
22 tickit_stringpos_zero() returns no value.
23
25 tickit_utf8_count(3), tickit_stringpos_limit_bytes(3), tickit(7)
26
27
28
29 TICKIT_STRINGPOS_ZERO(3)