fmt_minus3
Write '-' for negative integers
Usage
#include <libowfat/fmt.h>
size_t fmt_minus(char *dest,signed int source);
Overview
fmt_minus writes '-' if source is negative, nothing otherwise. It returns the number of bytes written.
fmt_minus does not append \0.
If dest equals FMT_LEN (i.e. is zero), fmt_minus returns the number of bytes it would have written.
Releases
8 releases since Debian 3.0 (Woody); the text changed 2 times.