Skip to content

cf_string_fmt_make

Category: string
GitHub: cute_string.h


Allocates and returns a new formatted dynamic string. Free with sfree.

#define cf_string_fmt_make(fmt, ...) sfmake(fmt, __VA_ARGS__)
Parameters Description
fmt The printf-style format string.

Return Value

Returns a new dynamic string.

Remarks

Shortform: sfmake(fmt, ...). Use this instead of sfmt when creating a string from scratch.

cf_string_make
cf_string_fmt
cf_string_set
cf_string_free