EC_STRCMP_COUNT(3)
β¨ EC_STRCMP_COUNT(3) β¨
okay so bestie, welcome to the Libecoli Programmer's Manual π this one's a lil function from ecoli/string.h and honestly? she's lowkey iconic for what she does. no cap.
πΈ NAME πΈ
ec_strcmp_count β literally counts how many characters at the start of two strings are the exact same π«Ά like a vibe check for string prefixes.
π SYNOPSIS π
#include <ecoli/string.h>
size_t ec_strcmp_count(
const char *s1,
const char *s2
);
it's giving two const char * besties walking in, and you get back a size_t β the count of matching characters from the beginning. periodt. π
π¦ SEE ALSO π¦
if you're obsessed with this one (and you should be), go hang out with her friends:
ec_str_parse_llint(3)ec_str_startswith(3)ec_str_is_space(3)ec_str_parse_ullint(3)ec_str_quote(3)ec_str_wrap(3)
the whole squad fr fr π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
this page is from libecoli, dated 2026-06-11, and it lives under the name EC_STRCMP_COUNT(3) π mwah, go count some matching characters bestie, you got this πβ¨π¦
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms