strtailcmp(9)
π strtailcmp(9) β from the Kernel API Manual π
πΈ NAME πΈ
strtailcmp β compare the tail of two strings. that's the whole assignment, bestie.
β¨ SYNOPSIS β¨
int strtailcmp (const char *s1 , const char *s2 );
π ARGUMENTS π
s1β the 1st string to be compared. yes, the first one, main character energy.s2β the 2nd string to be compared. the second one, also invited to the comparison party.
π¦ DESCRIPTION π¦
okay so here's the vibe: strtailcmp returns 0 if the whole of either string is the same as another's tail part. that's it. that's the function. it's giving βtail match check,β and honestly? iconic. no cap. π
π SEE ALSO π
Kernel file ./tools/perf/util/string.c is where this lives, and bestie you should also go peek at strglobmatch(9) and strlazymatch(9). iykyk. π«Ά
mwah π β this cutie comes from ./tools/perf/util, dated October 2026, and it's giving strtailcmp(9) finale energy. periodt. β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms