4.7.11 _strncpy_packed Function
Copies at most len
bytes of a string from one
__pack_upper_byte
Flash buffer to another buffer in RAM.
Include
<libpic30.h>
Prototype
void* _strcpy_packed( void *dest, __pack_upper_byte void
*src, 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
None.
Default Behavior
Copy at most len
bytes of the string pointed to by
src
to the RAM buffer pointed to by dest
. Unlike
the standard strncpy
function, this function does not zero fill the
remaining space in the destination string.
File
memcpy_helper.s