nonprintflike
Nonprintflike is a term used in programming discussions to describe APIs that are structurally similar to printf-style interfaces but do not perform standard printf-style output. In such APIs, a function may take a format string and arguments, but instead of printing, it may validate the format, build and return a formatted result, or apply the formatting to a data structure or non-output target (for example, a log entry, a GUI element, or a localization string). The term is informal and context-dependent; it is not a formal language feature in mainstream languages, and not all projects use the label consistently.
Common characteristics include a separation between formatting syntax and the output destination, potential differences in argument
Examples of nonprintflike usage can include: a function that validates a format string and returns error information
See also: printf, format attribute, variadic functions, string templating.