diff options
Diffstat (limited to 'src/libstddjb/str_fmt.c')
-rw-r--r-- | src/libstddjb/str_fmt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/str_fmt.c b/src/libstddjb/str_fmt.c new file mode 100644 index 0000000..1c14c70 --- /dev/null +++ b/src/libstddjb/str_fmt.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <skalibs/bytestr.h> +#include <skalibs/fmtscan.h> + +unsigned int str_fmt (register char *d, char const *s) +{ + return strn_fmt(d, s, str_len(s)) ; +} |