5 /* #define KANJI TRUE */
7 char haveinttab = FALSE;
9 struct InterTbl Currtab;
18 regs.x.dx = (unsigned) &Currtab ;
19 intdos (®s, ®s) ; /* INIT the table */
24 return(IToupper(c,Currtab.casecall));
36 * A note about the following " & 0xFF" stuff. This is
37 * to prevent the damn C compiler from converting bytes
38 * to words with the CBW instruction which is NOT correct
39 * for routines like toupper
42 if(testkanj(*p1 & 0xFF))
45 *p1++ = toupper(*p1 & 0xFF);
47 *p1++ = toupper(*p1 & 0xFF);
53 char *strpbrk(string1,string2)
59 while (*string1 != NULL) {
61 * A note about the following " & 0xFF" stuff. This is
62 * to prevent the damn C compiler from converting bytes
63 * to words with the CBW instruction which is NOT correct
64 * for routines like toupper
67 if(testkanj(*string1 & 0xFF))
82 return(NULL); /* no matches found */
89 if((c >= 0x81 && c <= 0x9F) || (c >= 0xE0 && c <= 0xFC))