public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* tcgetwinsize() and tcsetwinsize()
@ 2020-12-13  6:42 Soumendra Ganguly
  2020-12-13  9:16 ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: Soumendra Ganguly @ 2020-12-13  6:42 UTC (permalink / raw)
  To: libc-help

Hello. According to
https://www.austingroupbugs.net/view.php?id=1151#c3856, tcgetwinsize()
and tcsetwinsize() for getting/setting tty winsize are going to appear
in POSIX.1 issue 8. NetBSD already has them:

1. http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/termios/tcgetwinsize.c?only_with_tag=MAIN
2. http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/termios/tcsetwinsize.c?only_with_tag=MAIN

Also, musl-libc has them. Would implementations of these functions
using ioctl()+TIOCGWINSZ?TIOCSWINSZ be welcome?

Thank you.
Soumendra

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-13  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-13  6:42 tcgetwinsize() and tcsetwinsize() Soumendra Ganguly
2020-12-13  9:16 ` Florian Weimer
2020-12-13  9:53   ` Soumendra Ganguly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).