scan_plusminus3
Parse '+' or '-'
Usage
#include <libowfat/scan.h>
size_t scan_plusminus(const char *src,int *dest);
Overview
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.
Releases
8 releases since Debian 3.0 (Woody); the text changed 2 times.