ports/126232: Linux ioctl TCGETS (0x5401)

Chagin Dmitry chagin.dmitry at gmail.com
Tue Aug 5 18:00:09 UTC 2008


The following reply was made to PR ports/126232; it has been noted by GNATS.

From: Chagin Dmitry <chagin.dmitry at gmail.com>
To: Yuri <yuri at rawbw.com>
Cc: Chagin Dmitry <chagin.dmitry at gmail.com>, bug-followup at freebsd.org, 
    dchagin at freebsd.org
Subject: Re: ports/126232: Linux ioctl TCGETS (0x5401)
Date: Tue, 5 Aug 2008 21:52:26 +0400 (MSD)

 On Tue, 5 Aug 2008, Yuri wrote:
 
 > Chagin Dmitry wrote:
 >> Actually it not absolutelly so, tcgetattr() it is a glibc function
 >> which uses ioctl TCGETS inside.
 >> 
 >
 > Actually on FreeBSD tcgetattr() is typedefed to ioctl TCGETA.
 >
 > In short this PR asks to implement TCGETS in Linux emulator.
 >
 
 It is already implemented, see sys/compat/linux/linux_ioctl.c
 from line 670
 tcgetattr fails if file descriptor is not a tty, may be problem here?
 
 >> 
 >> I think that the author should give more information, at least explain
 >> on what specifies a file descriptor.
 >
 > Which author?
 >
 
 certainly, author ot the PR
 
 -- 
 Have fun!
 chd


More information about the freebsd-emulation mailing list