* Formats a buffer from a variable argument list. Returns -1 if the
* system is out of memory and the length of the formatted buffer otherwise.
* The buffer is enlarged automatically during formatting, if it doesn't
- * already have enough space.
+ * already have enough space. Sets silc_errno in case of error.
*
* EXAMPLE
*
*
* Same as silc_buffer_format but uses `stack' to allocate the memory.
* if `stack' is NULL reverts back to silc_buffer_format call. Returns
- * -1 if system is out of memory.
+ * -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.
*
* 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.
+ * -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.
* DESCRIPTION
*
* Unformats a buffer from a variable argument list. Returns -1 on error
- * and the length of the unformatted buffer otherwise.
+ * and the length of the unformatted buffer otherwise. Sets silc_errno
+ * in case of error.
*
* EXAMPLE
*
* be end with SILC_STRFMT_END argument. This allows that a string in
* the list can be NULL, in which case it is skipped. This automatically
* allocates the space for the buffer data but `dst' must be already
- * allocated by the caller. Returns -1 if system is out of memory.
+ * allocated by the caller. Returns -1 if system is out of memory and
+ * sets silc_errno.
*
* EXAMPLE
*
* allocates the space for the buffer data but `dst' must be already
* allocated by the caller. This function is equivalent to
* silc_buffer_strformat but allocates memory from `stack'. Returns -1
- * if system is out of memory.
+ * if system is out of memory and sets silc_errno.
*
* Note that this call consumes the `stack'. The caller should push the
* stack before calling the function and pop it later.