This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux ttyname_r.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 5 Dec 2006 21:25:42 -0000
- Subject: libc/sysdeps/unix/sysv/linux ttyname_r.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2006-12-05 21:25:42
Modified files:
sysdeps/unix/sysv/linux: ttyname_r.c
Log message:
Include termios.h.
(__ttyname_r): 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_r.c.diff?cvsroot=glibc&r1=1.17&r2=1.18