Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 08:50:25 -0700
From:      Don Wilde <Don@Silver-Lynx.com>
To:        Jonathan Chen <jonathan.chen@itouch.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: tcsetaddr
Message-ID:  <3A93E3C1.C4FDA62B@Silver-Lynx.com>
References:  <3A930E61.3632A279@Silver-Lynx.com> <20010221152120.A10691@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help


Jonathan Chen wrote:
> 
> On Tue, Feb 20, 2001 at 05:40:01PM -0700, Don Wilde wrote:
> > Hi, folks -
> >
> > I'm trying to use tcsetaddr and tcgetaddr as Stevens does in Adv. Unix
> > System Prog., chapter 11, on a 4.2-STABLE system, but my compile fails
> > on link, saying that these are 'undefined references'. I looked around,
> > and I see the main.c function for getty using it. What am I missing?
> 
> You've spelled it wrong. It's tcsetattr(3), tcgetattr(3).
> 
Oh! Of all the IDIOTIC blunders... Sorry all, I've been dealing with
assembly language too long. Thank you, Jonathan!
-- 
Don Wilde                  Don@Silver-Lynx.com
Silver Lynx   Embedded Microsystems Architects
2218 Southern Bl. Ste. 12 Rio Rancho, NM 87124
505-891-4175                      FAX 891-4185

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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