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

NAME

6       fmt_minus - write '-' for negative integers
7

SYNTAX

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

DESCRIPTION

14       fmt_minus  writes  '-'  if  source  is negative, nothing otherwise.  It
15       returns the number of bytes written.
16
17       fmt_minus does not append \0.
18
19       If dest equals FMT_LEN (i.e. is zero), fmt_minus returns the number  of
20       bytes it would have written.
21

SEE ALSO

23       fmt_plusminus(3), scan_plusminus(3)
24
25
26
27                                                                  fmt_minus(3)
Impressum