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