MEMMOVE(9)

πŸ“¦
version 11.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– MEMMOVE(9) β€” copy byte string πŸ’–

okay bestie, welcome to the Kernel Developer's Manual, section 9 β€” this one is literally about memmove, and it's giving β€œcopy bytes but make it overlap-safe.” πŸ’…βœ¨

🌸 NAME 🌸

memmove β€” copy byte string. That's the whole vibe, no cap. πŸ’–

✨ SYNOPSIS ✨

#include <sys/systm.h>

void *
memmove(void *dst, const void *src, size_t len);

πŸ’… DESCRIPTION πŸ’…

memmove() copies len bytes from the string src into the string dst, bestie. 🫢

The two strings are allowed to overlap β€” yep, they can literally be all up in each other's space β€” and the copy is always done in a non-destructive manner. So it's not here to wreck stuff mid-copy, periodt. πŸ’€βœ¨

🫢 RETURN VALUES 🫢

memmove() returns the original value of dst. That's it. The OG dst, returned right back to you. 🌟

πŸ‘‘ SEE ALSO πŸ‘‘

  • memcpy(9) β€” bestie cousin behavior, iykyk. πŸ’«

🌈 STANDARDS 🌈

memmove() conforms to ANSI X3.159-1989 (β€œANSI C89”). Iconic, standardized, slay. πŸ‘‘


kisses from the Debian edition, dated July 7, 2001, section MEMMOVE(9) πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from
  • nixpkgs unstable: netbsd-source 11.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms