Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2008 18:00:06 GMT
From:      Chagin Dmitry <chagin.dmitry@gmail.com>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: ports/126232: Linux ioctl TCGETS (0x5401)
Message-ID:  <200808051800.m75I068u088197@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/126232; it has been noted by GNATS.

From: Chagin Dmitry <chagin.dmitry@gmail.com>
To: Yuri <yuri@rawbw.com>
Cc: Chagin Dmitry <chagin.dmitry@gmail.com>, bug-followup@freebsd.org, 
    dchagin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808051800.m75I068u088197>