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