Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PhABResExportCommon_t.dup

PhABResExportCommon_t.dup

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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