DOKK / manpages / debian 11 / libowfat-dev / scan_noncharsetnskip.3.en
scan_noncharsetnskip(3) Library Functions Manual scan_noncharsetnskip(3)

scan_noncharsetnskip - skip characters not from set

#include <scan.h>

size_t scan_noncharsetnskip(const char* src, const char* charset,
size_t limit);

scan_noncharsetnskip returns the length of the maximum prefix of src that consists solely of characters that do not occur in charset (up to and not including the \0). src is considered to end at \0 or after limit characters.

scan_charsetnskip(3)