scan_plusminus(3)

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.

  1. 3.0
  2. 7–11
  3. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.