1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-13 19:21:36 +03:00
Files
glibc/sysdeps/unix/bsd/bsd4.4/isatty.c
Roland McGrath dab9837091 * 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>.
2002-09-20 20:18:24 +00:00

4 lines
95 B
C

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