1fmt_long(3) Library Functions Manual fmt_long(3)
2
3
4
6 fmt_long - write an ASCII representation of a long integer
7
9 #include <fmt.h>
10
11 size_t fmt_long(char *dest,long source);
12
14 fmt_long writes an ASCII representation ('-' and '0' to '9', base 10)
15 of source to dest and returns the number of bytes written.
16
17 fmt_long does not append \0.
18
19 If dest equals FMT_LEN (i.e. is zero), fmt_long returns the number of
20 bytes it would have written.
21
22 For convenience, fmt.h defines the integer FMT_LONG to be big enough to
23 contain every possible fmt_long output plus \0.
24
26 scan_long(3)
27
28
29
30 fmt_long(3)