1fmt_longlong(3) Library Functions Manual fmt_longlong(3)
2
3
4
6 fmt_longlong - write an ASCII representation of a long long integer
7
9 #include <fmt.h>
10
11 size_t fmt_longlong(char *dest,long long source);
12
14 fmt_longlong writes an ASCII representation ('-' and '0' to '9', base
15 10) of source to dest and returns the number of bytes written.
16
17 fmt_longlong does not append \0.
18
19 If dest equals FMT_LEN (i.e. is zero), fmt_longlong returns the number
20 of 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_longlong output plus \0.
24
26 scan_longlong(3)
27
28
29
30 fmt_longlong(3)