1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/bsd/bsd4.4/isatty.c: New file.

* 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>.
This commit is contained in:
Roland McGrath
2002-09-20 20:18:24 +00:00
parent fcdc67f963
commit dab9837091
4 changed files with 18 additions and 16 deletions

View File

@ -0,0 +1,3 @@
/* In a 4.4-derived world, tcgetattr is just one ioctl. */
#include <sysdeps/posix/isatty.c>