Modifying is*() functions

I am using Watcom 10.6 and QNX 4.

Is it possible to modify the char routines (like isalpha() and isalnum()) to
work with alphabets that have additional letters (like Norwegian)? Or,do I
have to start from scratch with my own library functions?

Many compilers include the table (I believe Watcom calls it _IsTable) in
ctype.h and the programmer merely has to edit the appropriate entries in the
table. But I can’t find the table in any of my Watcom stuff.


Bob Harris In short, you may buy a servant or slave,
Bath, NH but you cannot buy a friend.
bob@microprograms.com (Thoreau: Wild Fruits)

You can certainly write your own version of these functions and include them
in your link so they won’t get included from the libraries, BUT . . . there
is no guarantee that other routines are actually calling the library
routines to perform these features.

My suggestion is, try it.


Robert L. Harris <bob@microprograms.com> wrote in message
news:93kha5$m45$1@inn.qnx.com

I am using Watcom 10.6 and QNX 4.

Is it possible to modify the char routines (like isalpha() and isalnum())
to
work with alphabets that have additional letters (like Norwegian)? Or,do I
have to start from scratch with my own library functions?

Many compilers include the table (I believe Watcom calls it _IsTable) in
ctype.h and the programmer merely has to edit the appropriate entries in
the
table. But I can’t find the table in any of my Watcom stuff.


Bob Harris In short, you may buy a servant or slave,
Bath, NH but you cannot buy a friend.
bob@microprograms.com > (Thoreau: Wild Fruits)