strrchr(9)
πΈ NAME πΈ
okay so bestie, this is strrchr(9) from the Kernel API Manual, and it is literally the one that finds the last occurrence of a character in a string. thatβs the whole vibe. iconic. β¨
β¨ SYNOPSIS β¨
the whole flex is this exact line, no notes:
char * strrchr (const char *s , int c );
π ARGUMENTS π
sβ the string to be searched, aka the main character string weβre digging through π«Άcβ the character to search for, the one weβre looking for π
π SEE ALSO π
first up, the kernel file ./lib/string.c is right there in the references.
and the whole friend group is serving: strncasecmp(9), stpcpy(9), strcmp(9), strncmp(9), strchr(9), strchrnul(9), strnchrnul(9), strnchr(9), strspn(9), strcspn(9), strpbrk(9), strsep(9), memset(9), memset16(9), memset32(9), memset64(9), memcpy(9), memmove(9), memcmp(9), bcmp(9), memscan(9), strstr(9), strnstr(9), memchr(9), and memchr_inv(9). no cap, thatβs the whole lineup π
okay bye bestie β this page was stamped by ./lib in October 2026 ππ
π¦ 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