Function Macro

GLibascii_isdigit

since: 2.0

Declaration

#define g_ascii_isdigit (
  c
)

Description

Determines whether a character is digit (0-9).

Unlike the standard C library isdigit() function, this takes a char, not an int, so don’t call it on EOF, but no need to cast to #guchar before passing a possibly non-ASCII character in.

Available since: 2.0

This function is not directly available to language bindings.

Parameters

c

Type: -

Any character.