Jump to content

SomVaBuf get valist

From EDM2
Revision as of 18:04, 10 October 2017 by Martini (talk | contribs) (Created page with "Initializes a va_list from the SOM buffer (somVaBuf). ==Syntax== <PRE> somVaBuf vb; va_list *ap; somVaBuf_get_valist(vb, ap); </PRE> ==Parameters== ; vb (somVaBuf)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Initializes a va_list from the SOM buffer (somVaBuf).

Syntax

somVaBuf     vb;
va_list     *ap;

somVaBuf_get_valist(vb, ap);

Parameters

vb (somVaBuf)
Value (somVaBuf) returned from somVaBuf_create function.
ap (va_list *)
Pointer to a va_list.

Return Code

rc
None. The user's va_list has been initialized from the va_list in somVaBuf.

Remarks

This function copies the va_list in the somVaBuf structure to the passed va_list.

Example Code

See function somVaBuf_create.

Related

Functions

  • somVaBuf_create
  • somVaBuf_add
  • somVaBuf_destroy
  • somvalistGetTarget
  • somvalistSetTarget