strreplace(9)
π¦ 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 characteroldis 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
- 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