printf(3)
bindings for ZZ
Add this to your zz.toml
file:
[dependencies]
printf = "*"
[repos]
printf = "git://github.com/zzmodules/printf"
using printf::{ printf }
printf(format, ...)
and the following printf
like functions are exported:
dprintf(fd, format, ...)
fprintf(stream, format, ...)
snprintf(str, format, ...)
sprintf(str, size, format, ...)
vdprint(fd, format, list)
vfprintf(stream, format, list)
vprintf(format, list)
vsprintf(str, format, list)
vsnprintf(str, size, format, list)
MIT