summaryrefslogtreecommitdiff
path: root/src/termios/tcgetwinsize.c
AgeCommit message (Collapse)AuthorFilesLines
2020-08-24add tcgetwinsize and tcsetwinsize functions, move struct winsizeRich Felker1-0/+8
these have been adopted for future issue of POSIX as the outcome of Austin Group issue 1151, and are simply functions performing the roles of the historical ioctls. since struct winsize is being standardized along with them, its definition is moved to the appropriate header. there is some chance this will break source files that expect struct winsize to be defined by sys/ioctl.h without including termios.h. if this happens, further changes will be needed to have sys/ioctl.h expose it too.