• R
    add tcgetwinsize and tcsetwinsize functions, move struct winsize · 4d578654
    Rich Felker 提交于
    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.
    4d578654
isatty.c 281 字节