src/stdlib/stdstrng.c
/*=================================
 * isnumch -- Check if character is a digit
 * Note: input character is passed to isdigit, so it
 *  should be in unsigned char range.
 * TODO: Fix for Unicode
 *===============================*/
- Check if character is a digit
Note: input character is passed to isdigit, so it
should be in unsigned char range.
TODO: Fix for Unicode
- Check if character is a digit Note : input character is passed to isdigit so it should be in unsigned char range . TODO : Fix for Unicode
BOOLEAN
isnumch (INT c)
{
	if (c<0 || c>0x7F) return FALSE;
#ifndef OS_NOCTYPE
	return (isdigit(c));
#else
	return (c >= '0' && c <= '9');
#endif
}
BOOLEAN isnumch ( INT c ) { if ( c < 0 || c > 0x7F ) return FALSE ; #ifndef OS_NOCTYPE return ( isdigit ( c ) ) ; #else return ( c >= ' ' && c <= ' ' ) ; #endif }
isnumch -- Check if character is a digit
 Note: input character is passed to isdigit, so it
  should be in unsigned char range.
isnumch -- Check if character is a digit Note : input character is passed to isdigit so it should be in unsigned char range .
/* Now we know it is ASCII range */