Scroll to navigation

TICKIT_STRING_COUNT(3) Library Functions Manual TICKIT_STRING_COUNT(3)

NAME

tickit_string_count, tickit_string_countmore - DEPRECATED

SYNOPSIS

#include <tickit.h>

typedef struct {
    size_t bytes;
    int    codepoints;
    int    graphemes;
    int    columns;
} TickitStringPos;

size_t tickit_string_count(const char *str, TickitStringPos *pos,
    const TickitStringPos *limit);
size_t tickit_string_countmore(const char *str, TickitStringPos *pos,
    const TickitStringPos *limit);

size_t tickit_string_ncount(const char *str, size_t len,
    TickitStringPos *pos, const TickitStringPos *limit);
size_t tickit_string_ncountmore(const char *str,
    TickitStringPos *pos, const TickitStringPos *limit);

Link with -ltickit.

DESCRIPTION

These functions are deprecated. Use the tickit_utf8_count family instead.

SEE ALSO

tickit_stringpos_zero(3), tickit_stringpos_limit_bytes(3), tickit_utf8_mbswidth(3), tickit(7)