Next: , Previous: create_output_map, Up: Internal Functions   [Contents]


A.5.31 datatype_memcpy

memcpy type process function for bpipe_datacopy_init_output

Synopsis

#include <bpipe/bpipe.h>

static int datatype_memcpy(
  void *udata,
  size_t dest,
  size_t src,
  size_t nbytes
);

Parameters

void *udata

Not Documented.

size_t dest

Not Documented.

size_t src

Not Documented.

size_t nbytes

Not Documented.

Description

This routine is a process routine for bpipe_datatype_copy. It does an immediate copy of the data chunk. The udata passed to it must be a character array with two elements. The first should point to the beginning of the destination data, the second should point to the beginning of the source data.