MCPcopy Create free account
hub / github.com/NetHack/NetHack / enable_ctrlP

Function enable_ctrlP

sys/msdos/msdos.c:499–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void
500enable_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
511static unsigned int
512dos_ioctl(int handle, int mode, unsigned setvalue)

Callers 2

msexitFunction · 0.50
setttyFunction · 0.50

Calls 1

dos_ioctlFunction · 0.85

Tested by

no test coverage detected