MEMCPY(9)

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

πŸ’– 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms