NWCharVal(3nw)


NWCharVal -- returns the integer value of a character or a character in a string

Synopsis

   #include <time.h> or #define NWL_EXCLUDE_TIME 
   #include <stdio.h> or #define NWL_EXCLUDE_FILE 
   #include <nwlocale.h> 
   

int NWAPI NWCharVal (char NWFAR *charPosInString);

Description

The parameters are as follows:

charPosInString
(IN) Points to a character in a string.

Return values

Integer value of character pointed to by charPosInString.

Notices

NWCharVal is useful when comparing the values of two characters. Double-byte characters are handled correctly.

Services

Internationalization

NCP calls

None

References

NWLsetlocale(3nw),


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.