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

Function tty_set_winsize

freebsd/kern/tty.c:1615–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613}
1614
1615void
1616tty_set_winsize(struct tty *tp, const struct winsize *wsz)
1617{
1618
1619 if (memcmp(&tp->t_winsize, wsz, sizeof(*wsz)) == 0)
1620 return;
1621 tp->t_winsize = *wsz;
1622 tty_signal_pgrp(tp, SIGWINCH);
1623}
1624
1625static int
1626tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag,

Callers 2

tty_generic_ioctlFunction · 0.85
terminal_sync_ttysizeFunction · 0.85

Calls 1

tty_signal_pgrpFunction · 0.85

Tested by

no test coverage detected