somvalistSetTarget
From EDM2
Modifies the va_list without other side effects.
Syntax
va_list ap; unsigned long val; unsigned long rc; rc = somvalistSetTarget(ap, val);
Parameters
- ap (va_list)
- The va_list to modify.
- val (unsigned long)
- Value to set in the first scalar slot.
Return Code
- rc (unsigned long)
- None.
Remarks
The somvalistSetTarget function replaces the first scalar value on the va_list with the value val that is passed in the call without any other side effects.
Example Code
va_list start_val; somVaBuf vb; unsigned long first; vb = (somVaBuf)somVaBuf_create(NULL, 0); ... first = somvalistGetTarget(start_val); ... somvalistSetTarget(start_val, first);
Related
- Functions