On Sep 17 2025, Greg Wooledge wrote:

> I can't tell what those ioctl() calls are doing.  Why call TCGETS three
> times in a row?

I see only two times TCGETS.  The first TCGETS comes from isatty.  The
second one comes from tcgetattr to save the current settings, followed
by tcsetattr to update them.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to