slp->tio.c_iflag &= ~PARMRK;
static void set_parity(sl_t* slp, int parity){#ifdef __WIN32__    switch(parity) {    case 0: 	slp->tio.fParity = FALSE;	slp->tio.Parity = NOPARITY; 	break;    case 1: 	slp->tio.fParity = TRUE;	slp->tio.Parity = ODDPARITY; 	break;    case 2: 	slp->tio.fParity = TRUE;	slp->tio.Parity = EVENPARITY; 	break;    case 3: 	slp->tio.fParity = TRUE;	slp->tio.Parity = MARKPARITY; 	break;    }#else    switch(parity) {    case 0: /* none */	slp->tio.c_cflag &= ~PARENB;	break;    case 1: /* odd */	slp->tio.c_cflag  |= PARODD;	slp->tio.c_cflag |= PARENB;	break;    case 2: /* even */	slp->tio.c_cflag &= ~PARODD;	slp->tio.c_cflag |= PARENB;	break;    case 3:  /* mark (FIXME) */	slp->tio.c_iflag |= PARMRK;	slp->tio.c_cflag |= PARENB;	break;    }#endif}