strreplace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ strreplace(9) πŸ¦‹

okay bestie, this one’s from the Kernel API Manual and it’s giving β€œtiny string glow-up” energy.


πŸŽ€ NAME πŸŽ€

strreplace β€” Replace all occurrences of character in string.

✨ SYNOPSIS ✨

char * strreplace (char *s , char old , char new );

🫢 ARGUMENTS 🫢

  • s β€” The string to operate on. literally the string in question.
  • old β€” The character being replaced.
  • new β€” The character old is replaced with.

πŸ’– DESCRIPTION πŸ’–

Returns pointer to the nul byte at the end of s. that’s the whole flex.

🌈 SEE ALSO 🌈

Kernel file ./tools/lib/string.c, plus the squad:


made with πŸ’– from ./tools/lib, October 2026, for strreplace(9) β€” mwah πŸ’…

πŸ“¦ where this page comes from