Skip to content

cf_string_fmt

Category: string
GitHub: cute_string.h


Sets the string to a printf-style formatted result.

#define cf_string_fmt(s, fmt, ...) sfmt(s, fmt, __VA_ARGS__)
Parameters Description
s The string. Modified in-place.
fmt A printf-style format string.
... Format arguments.

Remarks

Shortform: sfmt(s, fmt, ...).

cf_string_fmt_append
cf_string_vfmt
cf_string_set