2017-06-26 15:14 GMT+02:00 Edward Tomasz Napierala <tr...@freebsd.org>:
> +       /* Disable echo, drain the input, and flush the output */
>         if (tcgetattr(fd, &old) == -1)
>                 exit(1);

> +       if (tcsetattr(fd, TCSAFLUSH, &new) == -1)
>                 exit(1);

Would it make sense to print diagnostics here?

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to