Documentation Archive Developer
Search
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



MEMMOVE(3)               BSD Library Functions Manual               MEMMOVE(3)

NAME
     memmove -- copy byte string

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <string.h>

     void *
     memmove(void *s1, const void *s2, size_t n);

DESCRIPTION
     The memmove() function copies n bytes from string s2 to string s1.  The
     two strings may overlap; the copy is always done in a non-destructive
     manner.

RETURN VALUES
     The memmove() function returns the original value of s1.

SEE ALSO
     bcopy(3), memccpy(3), memcpy(3), strcpy(3)

STANDARDS
     The memmove() function conforms to ISO/IEC 9899:1990 (``ISO C90'').

BSD                              June 4, 1993                              BSD