NWisdigit(3nw)
NWisdigit --
returns non-zero value if character is digit
Synopsis
#include <time.h> or #define NWL_EXCLUDE_TIME
#include <stdio.h> or #define NWL_EXCLUDE_FILE
#include <nwlocale.h>
int NWAPI NWisdigit
(unsigned int ch);
Description
The parameters are as follows:
- ch
-
(IN) Specifies the character to be checked to determine if it is a
numeric character.
Return values
- 0x0000
-
Not a numeric character.
- Non-zero
-
A numeric character.
Notices
DBCS characters passed to NWisdigit should be
byte-swapped to Intel lo-hi order.
Currently all double-byte characters return a zero (0).
Services
Internationalization
NCP calls
None
References
NWisalnum(3nw),
NWisalpha(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.