3 ms·There's the TIOCGWINSZ ioctl which seems pretty standard.by ksherlock 5y agoThere's the TIOCGWINSZ ioctl which seems pretty standard.