MEMMOVE(9)
π 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
- Copyright (c) 1990, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms