From owner-freebsd-commit Fri Sep 22 10:01:43 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA10280 for freebsd-commit-outgoing; Fri, 22 Sep 1995 10:01:43 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA10268 for cvs-all-outgoing; Fri, 22 Sep 1995 10:01:39 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA10258 for cvs-lib-outgoing; Fri, 22 Sep 1995 10:01:37 -0700 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA10236 ; Fri, 22 Sep 1995 10:01:30 -0700 Date: Fri, 22 Sep 1995 10:01:30 -0700 From: Peter Wemm Message-Id: <199509221701.KAA10236@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen ttyname.c Sender: owner-commit@FreeBSD.org Precedence: bulk peter 95/09/22 10:01:30 Modified: lib/libc/gen ttyname.c Log: Make ttyname() use posix-style tcgetattr() to check to see that it's running on a tty. (Same as isatty()) The old-style TIOCGETP ioctl wouldn't fly if the kernel didn't have COMPAT_43. Submitted by: Carl Fongheiser