MCPcopy Create free account
hub / github.com/F-Stack/f-stack / terminal_sync_ttysize

Function terminal_sync_ttysize

freebsd/kern/subr_terminal.c:216–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static void
217terminal_sync_ttysize(struct terminal *tm)
218{
219 struct tty *tp;
220
221 tp = tm->tm_tty;
222 if (tp == NULL)
223 return;
224
225 tty_lock(tp);
226 tty_set_winsize(tp, &tm->tm_winsize);
227 tty_unlock(tp);
228}
229
230void
231terminal_maketty(struct terminal *tm, const char *fmt, ...)

Callers 2

terminal_makettyFunction · 0.85

Calls 1

tty_set_winsizeFunction · 0.85

Tested by

no test coverage detected