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