MEMCCPY(3) BSD Programmer's Manual MEMCCPY(3) NNAAMMEE mmeemmccccppyy - copy string until character found SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> _v_o_i_d _* mmeemmccccppyy(_v_o_i_d _*_d_s_t, _c_o_n_s_t _v_o_i_d _*_s_r_c, _i_n_t _c, _s_i_z_e___t _l_e_n); DDEESSCCRRIIPPTTIIOONN The mmeemmccccppyy() function copies bytes from string _s_r_c to string _d_s_t. If the character _c (as converted to an unsigned char) occurs in the string _s_r_c, the copy stops and a pointer to the byte after the copy of _c in the string _d_s_t is returned. Otherwise, _l_e_n bytes are copied, and a NULL pointer is returned. SSEEEE AALLSSOO bcopy(3), memcpy(3), memmove(3), strcpy(3) HHIISSTTOORRYY The mmeemmccccppyy() function first appeared in 4.4BSD. 4.4BSD June 9, 1993 1