1fmt_str(3) Library Functions Manual fmt_str(3)
2
3
4
6 fmt_str - write an ASCII string
7
9 #include <fmt.h>
10
11 size_t fmt_str(char *dest,const char *source);
12
14 fmt_str copies all leading nonzero bytes from source to dest and
15 returns the number of bytes it copied.
16
17 fmt_str does not append \0.
18
19 If dest equals FMT_LEN (i.e. is zero), fmt_str returns the number of
20 bytes it would have written, i.e. the number of leading nonzero bytes
21 of source.
22
24 strcpy(3)
25
26
27
28 fmt_str(3)