RUNESTRCAT(3)

πŸ“¦ version 0_git20260208, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to RUNESTRCAT(3) from the Library Functions Manual β€” this page is all about rune string operations ✨ and it covers the whole squad: runestrcat, runestrncat, runestrcmp, runestrncmp, runestrcpy, runestrncpy, runestrecpy, runestrlen, runestrchr, runestrrchr, runestrdup, runestrstr πŸ’…


✨ SYNOPSIS ✨

#include <u.h>
#include <libc.h>

Rune* runestrcat(Rune *s1, Rune *s2)

Rune* runestrncat(Rune *s1, Rune *s2, long n)

int   runestrcmp(Rune *s1, Rune *s2)

int   runestrncmp(Rune *s1, Rune *s2, long n)

Rune* runestrcpy(Rune *s1, Rune *s2)

Rune* runestrncpy(Rune *s1, Rune *s2, long n)

Rune* runestrecpy(Rune *s1, Rune *es1, Rune *s2)

long  runestrlen(Rune *s)

Rune* runestrchr(Rune *s, Rune c)

Rune* runestrrchr(Rune *s, Rune c)

Rune* runestrdup(Rune *s)

Rune* runestrstr(Rune *s1, Rune *s2)

🫢 DESCRIPTION 🫢

These functions are rune string analogues of the corresponding functions in strcat(3) πŸ¦‹

like… they’re the rune-string besties of the strcat(3) crew, and that’s the whole vibe. no cap, that’s the description bestie πŸ’–


🌈 SOURCE 🌈

the source is chillin’ at:

/src/lib9

slay πŸ“βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, iykyk:


πŸ’€ BUGS πŸ’€

⚠️ bug note: the outcome of overlapping moves varies among implementations 😭 so don’t expect every implementation to match, fr fr.

k that’s the page bestie πŸ’– source/version: RUNESTRCAT(3) from the Library Functions Manual; date: not listed in the footer, so we’re not making one up πŸŽ€ byeee πŸ‘‘