Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2020 14:55:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251868] Add tcgetwinsize() and tcsetwinsize() to termios.h
Message-ID:  <bug-251868-227-K1S7LtMHMG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251868-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251868-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251868

--- Comment #15 from SOUMENDRA GANGULY <0.gangzta@gmail.com> ---
In https://reviews.freebsd.org/D27650, I had written: "OTOH, while it's not=
 a
big deal anymore, I wonder why some of the other platforms such as NetBSD h=
ave
chosen to not put the winsize materials under _NETBSD_SOURCE."

Here lies the answer to the question:
https://mail-index.netbsd.org/tech-userlevel/2017/10/21/msg010899.html

Basically, Christos Zoulas cleverly avoided the namespace contamination by
letting sys/ttycom.h only make visible struct winsize when _NETBSD_SOURCE is
not defined: https://github.com/NetBSD/src/blob/trunk/sys/sys/ttycom.h

My OCD is now satisfied.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251868-227-K1S7LtMHMG>