MANPAGES
Skip Quicknav
Index
About Manpages
FAQ
Service Information
/
wheezy
/
libowfat-dev
/ scan_plusminus(3)
links
permalink
package tracker
raw man page
table of contents
NAME
SYNTAX
DESCRIPTION
other versions
wheezy
0.28-6
jessie
0.29-4
testing
0.30-2
unstable
0.30-2
Scroll to navigation
scan_plusminus(3)
Library Functions Manual
scan_plusminus(3)
NAME
¶
scan_plusminus - parse '+' or '-'
SYNTAX
¶
#include <scan.h>
size_t
scan_plusminus
(const char *
src
,int *
dest
);
DESCRIPTION
¶
scan_plusminus parses an ASCII '+' or '-' sign from
src
, sets
dest
1 or -1, respectively, and returns 1.
If neither is found, '+' is assumed and 0 is returned.