-
string_utils: add wrapper for snprintf() · 66efb199Christian Brauner authored
This let's us avoid the tedious if (ret < 0 || (size_t)ret >= sizeof(buf)) style of error checking. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
×
This let's us avoid the tedious
if (ret < 0 || (size_t)ret >= sizeof(buf))
style of error checking.
Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>