isrune(3)

isrune3

Valid character test

Usage

#include <ctype.h>

int

isrune(int c);

Library

Standard C Library (libc, -lc)

Overview

The isrune() function tests for any character that is valid in the current character set. In the ASCII character set, this is equivalent to isascii().

Return values

The isrune() 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 2 times.

  1. 10.4–10.4.11
  2. 10.5–10.6.8
  3. 10.7–26.5

History

The isrune() function appeared in 4.4BSD.

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