mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-30 06:21:07 +00:00
dab9837091
* sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from isatty unmodified. Reported by Bruno Haible <bruno@clisp.org>.
4 lines
95 B
C
4 lines
95 B
C
/* In a 4.4-derived world, tcgetattr is just one ioctl. */
|
|
|
|
#include <sysdeps/posix/isatty.c>
|