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

Function setctty

sys/share/unixtty.c:198–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196#endif
197
198static void
199setctty(void)
200{
201 if (STTY(&curttyb) < 0 || STTY2(&curttyb2) < 0)
202 perror("NetHack (setctty)");
203}
204
205/*
206 * Get initial state of terminal, set ospeed (for termcap routines)

Callers 4

getttyFunction · 0.70
setfttyFunction · 0.70
intronFunction · 0.70
introffFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected