| 497 | } |
| 498 | |
| 499 | void |
| 500 | enable_ctrlP(void) |
| 501 | { |
| 502 | if (!iflags.rawio) |
| 503 | return; |
| 504 | if (old_stdin) |
| 505 | (void) dos_ioctl(STDIN, SETBITS, old_stdin); |
| 506 | if (old_stdout) |
| 507 | (void) dos_ioctl(STDOUT, SETBITS, old_stdout); |
| 508 | return; |
| 509 | } |
| 510 | |
| 511 | static unsigned int |
| 512 | dos_ioctl(int handle, int mode, unsigned setvalue) |