fmt_strn3
Write an ascii string
Usage
#include <libowfat/fmt.h>
size_t fmt_strn(char *dest,const char *source,
size_t maxlen);
Overview
fmt_str copies at most maxlen leading nonzero bytes from source to dest and returns the number of bytes it copied.
fmt_str does not append \0.
If dest equals FMT_LEN (i.e. is zero), fmt_strn returns the number of bytes it would have written.
Releases
8 releases since Debian 3.0 (Woody); the text changed 2 times.