afc_string_make

Name

afc_string_make  -- Copies data into string using the given fmt and args

Synopsis

char * afc_string_make ( char * string, const char * fmt, ... );

Description

This function is a safe version of the standard sprintf. It does just the same things, but with bound checking, so you are pretty sure that the passed args will not be too big.

Inputs

string

Destination AFC string.

fmt

Format string. It uses the same syntax of printf or sprintf.

...

All the params needed.

Result

Note

See Also