tickit_stringpos_zero(3)

tickit_stringpos_zero3

Clear the fields of a string position counter

Usage

#include <tickit.h>

void tickit_stringpos_zero(TickitStringPos *pos);

Link with -ltickit.

Overview

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.

Return value

tickit_stringpos_zero() returns no value.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.