*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> memcpy (3)              
Title
Content
Arch
Section
 

MEMCPY(3)

Contents


NAME    [Toc]    [Back]

     memcpy -- copy byte string

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <string.h>

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

DESCRIPTION    [Toc]    [Back]

     The memcpy() function copies len bytes from string src to string dst.

RETURN VALUES    [Toc]    [Back]

     The memcpy() function returns the original value of dst.

SEE ALSO    [Toc]    [Back]

      
      
     bcopy(3), memccpy(3), memmove(3), strcpy(3)

STANDARDS    [Toc]    [Back]

     The memcpy() function conforms to ISO/IEC 9899:1990 (``ISO C89'').

BUGS    [Toc]    [Back]

     In this implementation memcpy() is implemented using bcopy(3), and therefore
 the strings may overlap.  On other systems, copying overlapping
     strings may produce surprises.  Programs intended to be portable should
     use memmove(3) when src and dst may overlap.


FreeBSD 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
bcopy Linux copy byte strings
memchr NetBSD locate byte in byte string
memset NetBSD write a byte to byte string
memchr FreeBSD locate byte in byte string
memset FreeBSD write a byte to byte string
memset NetBSD write a byte to byte string
memset OpenBSD write a byte to byte string
memchr OpenBSD locate byte in byte string
XmStringCopy Tru64 A compound string function that makes a copy of a string
XmStringCopy IRIX A compound string function that makes a copy of a string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service