mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
2ae1fdab5a
In the FreeBSD base system, there are only two utilities that use struct tty, namely pstat and sicontrol. The sicontrol utility calls the TCSI_TTY ioctl(), which copies struct tty back to userspace. sicontrol should not have this functionality. The same data is already provided by pstat. If we really want to be able to export these numbers through a file descriptor to userspace, we can export struct xtty, which should provide a better abstraction. The ttystat option was only used as a debugging aid. This makes sicontrol compile in the mpsafetty branch. Reviewed by: peter Approved by: philip (mentor) |
||
---|---|---|
.. | ||
Makefile | ||
sicontrol.8 | ||
sicontrol.c |