[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: termios: Define struct winsize on all platforms.
From: |
Bruno Haible |
Subject: |
Re: termios: Define struct winsize on all platforms. |
Date: |
Tue, 13 Aug 2024 06:59:53 +0200 |
Hi Collin,
> I haven't tested other platforms yet but hopefully it should all be
> handled in termios.h there or through a single #include like glibc.
AIX is like glibc, here:
$ echo '#include <termios.h>' | $CC -E - | grep winsize
$ echo '#include <sys/ioctl.h>' | $CC -E - | grep winsize
struct winsize {
On all other platforms (other than native Windows), <termios.h> is
sufficient.
Bruno