isspecial(3)

isspecial3

Special character test

Usage

#include <ctype.h>

int

isspecial(int c);

Library

Standard C Library (libc, -lc)

Overview

The isspecial() function tests for a special character. Special characters are locale dependent, and not necessarily consistent between different locales. Examples might include fractions and numbers inside circles.

Return values

The isspecial() function returns zero if the character tests false and returns non-zero if the character tests true.

Releases

135 releases since Mac OS X 10.4; the text changed 3 times.

  1. 10.4–10.4.11
  2. 10.5–10.6.8
  3. 10.7–10.11.6
  4. 10.12–26.5

History

The isspecial() function appeared in 4.4BSD.

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.