silc_buffer_sformat_vp

SYNOPSIS

    int silc_buffer_sformat_vp(SilcStack stack, SilcBuffer dst, va_list vp);

DESCRIPTION

Same as silc_buffer_format_vp but uses `stack' to allocate the memory. if `stack' is NULL reverts back to silc_buffer_format_vp call. Returns -1 if system is out of memory. Sets silc_errno in case of error.

Note that this call consumes the `stack'. The caller should push the stack before calling the function and pop it later.