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

Function resettty

sys/vms/vmstty.c:391–399  ·  view source on GitHub ↗

atexit() routine */

Source from the content-addressed store, hash-verified

389
390/* atexit() routine */
391static void
392resettty(void)
393{
394 if (settty_needed) {
395 bombing = TRUE; /* don't clear screen; preserve traceback info */
396 settty((char *) 0);
397 }
398 (void) sys$dassgn(tt_chan), tt_chan = 0;
399}
400
401/*
402 * Get initial state of terminal, set ospeed (for termcap routines)

Callers

nothing calls this directly

Calls 1

setttyFunction · 0.70

Tested by

no test coverage detected