MEMCPY(3) 1990 MEMCPY(3) NNAAMMEE memcpy - copy byte string SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> vvooiidd ** mmeemmccppyy((vvooiidd **ddsstt,, ccoonnsstt vvooiidd **ssrrcc,, ssiizzee__tt lleenn));; DDEESSCCRRIIPPTTIIOONN MMeemmccppyy copies _l_e_n bytes from string _s_r_c to string _d_s_t and returns the original value of _d_s_t. SSEEEE AALLSSOO bcopy(3), memccpy(3), memmove(3), strcpy(3) SSTTAANNDDAARRDDSS _M_e_m_c_p_y conforms to ANSI X3.159-1989 (``ANSI C''). BBUUGGSS In this implementation mmeemmccppyy is implemented using _b_c_o_p_y(3), and therefore the strings may overlap. On other systems, copying overlapping strings may produce surprises. A simpler solution is to not use _m_e_m_c_p_y. Printed 7/27/90 June 1