X-Spam-Check-By: sourceware.org Date: Thu, 28 Sep 2006 09:29:15 +0100 From: ahnkle To: cygwin AT cygwin DOT com Subject: Re: tcgetattr problem Message-ID: <20060928082915.GD29552@flixx.linux.bogus> References: <20060927193049 DOT GA29552 AT flixx DOT linux DOT bogus> <20060927231017 DOT GC29552 AT flixx DOT linux DOT bogus> <20060928021335 DOT GD31675 AT trixie DOT casa DOT cgf DOT cx> <20060928023857 DOT GG31675 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060928023857.GG31675@trixie.casa.cgf.cx> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 22:38 Wed 27 Sep , Christopher Faylor wrote: > On Wed, Sep 27, 2006 at 10:13:36PM -0400, Christopher Faylor wrote: > >The name of the function is "ioctl", not "ioctl". > "_ioctl". I said "_ioctl" because in cygwin source, at src/newlib/libc/sys/sysvi386/tcgetattr.c the call is to that function. Searching didn't locate any [_]ioctl() function, hence my asking. My point in mentioning that com1 works is that it could be confusing that "com1" works with open(), but the handle obtained doesn't work with tcgetattr(), whereas "/dev/ttyS0" works with both. regards, ahnkle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/