mirror of /home/gitosis/repositories/libowfat.git
Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat
https://www.fefe.de/libowfat/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
352 B
12 lines
352 B
.TH scan_plusminus 3 |
|
.SH NAME |
|
scan_plusminus \- parse '+' or '-' |
|
.SH SYNTAX |
|
.B #include <scan.h> |
|
|
|
int \fBscan_plusminus\fP(const char *\fIsrc\fR,int *\fIdest\fR); |
|
.SH DESCRIPTION |
|
scan_plusminus parses an ASCII '+' or '-' sign from \fIsrc\fR, sets |
|
\fIdest\fR 1 or -1, respectively, and returns 1. |
|
|
|
If neither is found, '+' is assumed and 0 is returned.
|
|
|