home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
memcpy.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
MEMCPY(3) UNIX Programmer's Manual MEMCPY(3)
NNAAMMEE
mmeemmccppyy - copy byte string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_v_o_i_d _*
mmeemmccppyy(_v_o_i_d _*_d_s_t, _c_o_n_s_t _v_o_i_d _*_s_r_c, _s_i_z_e___t _l_e_n)
DDEESSCCRRIIPPTTIIOONN
The mmeemmccppyy() function copies _l_e_n bytes from string _s_r_c to string _d_s_t.
RREETTUURRNN VVAALLUUEESS
The mmeemmccppyy() function returns the original value of _d_s_t.
SSEEEE AALLSSOO
bcopy(3), memccpy(3), memmove(3), strcpy(3)
SSTTAANNDDAARRDDSS
The mmeemmccppyy() function conforms to ANSI C3.1591989 (``ANSI C'').
BBUUGGSS
In this implementation mmeemmccppyy() is implemented using bcopy(3), and
therefore the strings may overlap. On other systems, copying overlapping
strings may produce surprises. A simpler solution is to not use
mmeemmccppyy().
BSD Experimental June 29, 1991 1