Query: fmt_strn
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fmt_strn(3) Library Functions Manual fmt_strn(3)NAMEfmt_strn - write an ASCII stringSYNTAX#include <fmt.h> size_t fmt_strn(char *dest,const char *source, size_t maxlen);DESCRIPTIONfmt_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 . If dest equals FMT_LEN (i.e. is zero), fmt_strn returns the number of bytes it would have written.SEE ALSOstrncpy(3) fmt_strn(3)