4.7.8 _strncpy_eds Function
Copies at most len
bytes string from one
__eds__
buffer to another __eds__
buffer.
Include
<libpic30.h>
Prototype
__eds__ char* _strncpy_eds(__eds__ char *dest, __eds__ char
*src, unsigned int len);
Arguments
dest
|
destination memory address |
src
|
address of data to be written |
len
|
length of program memory |
Return Value
The string pointed to by dest
.
Remarks
__eds__
pointers are superset of unqualified data pointers; therefore
these functions can be used to copy between __eds__
and unqualified
data memory.
Default Behavior
Copy len
bytes of the string pointed to by the
src
pointer to the destination pointed to by the
dest
pointer. Unlike the standard strncpy
function, this function does not zero fill the remaining space in the destination
string.
File
memcpy_helper.s