fmt_copybytes − write binary data
#include <libowfat/fmt.h>
size_t fmt_copybytes(char *dest,const char *source, size_t limit);
fmt_copybytes copies limit bytes from source to dest and returns limit.
This is a convenience wrapper interface around memcpy/byte_copy to make it work like the other fmt functions.
byte_copy(3), memcpy(3)