You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
490 B
Groff
18 lines
490 B
Groff
24 years ago
|
.TH fmt_minus 3
|
||
|
.SH NAME
|
||
|
fmt_minus \- write '-' for negative integers
|
||
|
.SH SYNTAX
|
||
|
.B #include <fmt.h>
|
||
|
|
||
|
unsigned int \fBfmt_minus\fP(char *\fIdest\fR,signed int \fIsource\fR);
|
||
|
.SH DESCRIPTION
|
||
|
fmt_minus writes '-' if \fIsource\fR is negative, nothing otherwise. It
|
||
|
returns the number of bytes written.
|
||
|
|
||
|
fmt_minus does not append \\0.
|
||
|
|
||
|
If \fIdest\fR equals FMT_LEN (i.e. is zero), fmt_minus returns the number
|
||
|
of bytes it would have written.
|
||
|
.SH "SEE ALSO"
|
||
|
fmt_plusminus(3), scan_plusminus(3)
|