This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux ttyname.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 5 Dec 2006 21:25:29 -0000
- Subject: libc/sysdeps/unix/sysv/linux ttyname.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2006-12-05 21:25:29
Modified files:
sysdeps/unix/sysv/linux: ttyname.c
Log message:
Include termios.h.
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?cvsroot=glibc&r1=1.20&r2=1.21