Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PhABResExportCommon_t.dup()

A PhAB exported function to duplicate a value

Synopsis:

void dup (
  ResDatatype_t type,
  int n,
  void *v,
  int *dest_n,
  void **dest_value );

Arguments:

type
The data type of the data you want to duplicate.
n, v
The source value you want to duplicate. The values depend on the data type.
dest_n, dest_value
The destination for value you want to duplicate. The values depend on the data type.

Description:

This function is exported from PhAB in the PhABResExportCommon_t structure.

This is a convenience function that you can use to duplicate a value.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhABResExportCommon_t