MEMCPY(9)
π NAME π
okay so bestie, this is memcpy(9) from the Kernel Developer's Manual β and it's literally here to copy byte string. iconic behavior, no cap. π
β¨ SYNOPSIS β¨
#include <sys/systm.h>
void *
memcpy(void * restrict dst, const void * restrict src, size_t len);
πΈ DESCRIPTION πΈ
The memcpy() function copies len bytes from string src to string dst. slay. π
π¨ warning, bestie: the arguments must not overlap β behavior if the arguments overlap is undefined. like, do not do that. fr fr. π
To copy byte strings that overlap, use memmove(9). that's the overlapping-safe bestie, iykyk. π¦
π«Ά RETURN VALUES π«Ά
The memcpy() function returns the original value of dst. it literally hands you back the original dst, loyal main character energy. π
π SEE ALSO π
β STANDARDS β
The memcpy() function conforms to ISO/IEC 9899:1999 (βISO C99β). periodt. π
made with π from Debian, dated January 2, 2012 β byeee bestie! π§ββοΈβ¨
π¦ 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