strrchr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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