1fmt_uint(3)                Library Functions Manual                fmt_uint(3)
2
3
4

NAME

6       fmt_uint - write an ASCII representation of an unsigned integer
7

SYNTAX

9       #include <fmt.h>
10
11       size_t fmt_uint(char *dest,unsigned int source);
12

DESCRIPTION

14       fmt_uint writes an ASCII representation ('0' to '9', base 10) of source
15       to dest and returns the number of bytes written.
16
17       fmt_uint does not append \0.
18
19       If dest equals FMT_LEN (i.e. is zero), fmt_uint 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_uint output plus \0.
24

SEE ALSO

26       scan_uint(3), fmt_uint0(3)
27
28
29
30                                                                   fmt_uint(3)
Impressum