limb 0.2.0

2024-01-09

byte_count(3)
limb manual
byte_count(3)

NAME

byte_count - count occurrences of a byte in a byte array

SYNOPSIS

#include <limb/bytestr.h>
size_t byte_count(const char *haystack, size_t hlen, char c)

DESCRIPTION

The byte_count() function returns the number of occurrences of byte c in the byte array haystack of length hlen.

RETURN VALUE

The byte_count() function returns the number of byte c in the byte array haystack.

limb 0.1.0
2023-07-24
byte_count(3)