From owner-freebsd-questions Wed Feb 21 7:50:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nwlynx.network-lynx.net (nwlynx.network-lynx.net [63.122.185.99]) by hub.freebsd.org (Postfix) with ESMTP id DE15B37B69C for ; Wed, 21 Feb 2001 07:50:35 -0800 (PST) (envelope-from Don@Silver-Lynx.com) Received: from Silver-Lynx.com (doze-1.network-lynx.net [63.122.185.106]) by nwlynx.network-lynx.net (8.11.1/8.9.3/Who.Cares) with ESMTP id f1LFocH21489; Wed, 21 Feb 2001 08:50:39 -0700 (MST) (envelope-from Don@Silver-Lynx.com) Message-ID: <3A93E3C1.C4FDA62B@Silver-Lynx.com> Date: Wed, 21 Feb 2001 08:50:25 -0700 From: Don Wilde X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Chen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcsetaddr References: <3A930E61.3632A279@Silver-Lynx.com> <20010221152120.A10691@itouchnz.itouch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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