tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FYI: POSIX update - SIGWINCH and 'struct winsize' (etc) to be added



On Sat, Oct 21, 2017 at 09:20:20AM -0400, Christos Zoulas wrote:
> Why don't we unconditionally (not only when _NETBSD_SOURCE) include
> <sys/ttycom.h> from <sys/termios.h> and only make visible struct winsize
> when _NETBSD_SOURCE is not defined?

Just provide two definitions and protect them with an include guard. No
need really to have a new header either.

Joerg


Home | Main Index | Thread Index | Old Index