FLTK 1.3.2

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

iso8859_1.h

    00001 /* $XFree86: xc/lib/X11/lcUniConv/iso8859_1.h,v 1.3 2000/11/29 17:40:30 dawes Exp $ */
    00002
    00003 /*
    00004  * ISO-8859-1
    00005  */
    00006
    00007 static int
    00008 iso8859_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
    00009 {
    00010   unsigned char c = *s;
    00011   *pwc = (ucs4_t) c;
    00012   return 1;
    00013 }
    00014
    00015 static int
    00016 iso8859_1_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
    00017 {
    00018   if (wc < 0x0100) {
    00019     *r = wc;
    00020     return 1;
    00021   }
    00022   return RET_ILSEQ;
    00023 }