ISRUNE(3) Library Functions Manual ISRUNE(3)

isrunevalid character test

Standard C Library (libc, -lc)

#include <ctype.h>

int
isrune(int c);

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

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

ctype(3), isascii(3), iswrune(3), ascii(7), isalnum_l

The isrune() function appeared in 4.4BSD.

March 30, 2004 macOS 15.0