SomvalistGetTarget: Difference between revisions
Appearance
Created page with "Gets the first scalar value from a va_list without other side effects. ==Syntax== <PRE> va_list ap; unsigned long rc; rc = somvalistGetTarget(ap); </PRE> ==Para..." |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:somvalistGetTarget}} | |||
Gets the first scalar value from a va_list without other side effects. | Gets the first scalar value from a va_list without other side effects. | ||
==Syntax== | ==Syntax== | ||
va_list ap; | |||
va_list ap; | unsigned long rc; | ||
unsigned long rc; | |||
rc = somvalistGetTarget(ap); | |||
rc = somvalistGetTarget(ap); | |||
==Parameters== | ==Parameters== | ||
; ap (va_list) : The va_list from which to get the value. | ;ap (va_list): The va_list from which to get the value. | ||
==Return Code== | ==Return Code== | ||
; rc (unsigned long) : Scalar value from the va_list. | ;rc (unsigned long): Scalar value from the va_list. | ||
==Remarks== | ==Remarks== | ||
Returns the first scalar value from the va_list without other side effects. | Returns the first scalar value from the va_list without other side effects. | ||
==Example Code== | ==Example Code== | ||
Line 31: | Line 30: | ||
==Related== | ==Related== | ||
;Functions | |||
* [[somVaBuf_create]] | *[[somVaBuf_create]] | ||
* [[somVaBuf_add]] | *[[somVaBuf_add]] | ||
* [[somVaBuf_get_valist]] | *[[somVaBuf_get_valist]] | ||
* [[somVaBuf_destroy]] | *[[somVaBuf_destroy]] | ||
* [[somvalistSetTarget]] | *[[somvalistSetTarget]] | ||
[[Category:SOM | [[Category:SOM function]] |
Latest revision as of 04:48, 6 May 2020
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