[][src]Function avr_libc::memcpy_PF

pub unsafe extern "C" fn memcpy_PF(
    dest: *mut c_void,
    src: uint_farptr_t,
    len: size_t
) -> *mut c_void

\ingroup avr_pgmspace \fn void *memcpy_PF(void *dest, uint_farptr_t src, size_t n) \brief Copy a memory block from flash to SRAM

The memcpy_PF() function is similar to memcpy(), except the data is copied from the program space and is addressed using a far pointer.

\param dest A pointer to the destination buffer \param src A far pointer to the origin of data in flash memory \param n The number of bytes to be copied

\returns The memcpy_PF() function returns a pointer to \e dst. The contents of RAMPZ SFR are undefined when the function returns.