somVaBuf_get_valist

From EDM2
Jump to: navigation, search

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