silc_snprintf

SYNOPSIS

    int silc_snprintf(char *str, size_t count, const char *fmt, ...);

DESCRIPTION

Outputs string into `str' of maximum of size `count' including the trailing '\0' according to the `fmt'. The `fmt' is equivalent to snprintf(3) and printf(3) formatting. Returns the number of character in `str' or negative value on error.

This also supports '%@' formatting to render data and structures using SilcSnprintfRender.