somvalistGetTarget
Appearance
Gets the first scalar value from a va_list without other side effects.
Syntax
va_list ap; unsigned long rc; rc = somvalistGetTarget(ap);
Parameters
- ap (va_list)
- The va_list from which to get the value.
Return Code
- rc (unsigned long)
- Scalar value from the va_list.
Remarks
Returns the first scalar value from the va_list without 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