[comp.unix.wizards] Where are stty and gtty?

CURT@vtvm1.cc.vt.edu (Curt Tilmes) (09/10/89)

I've been trying to compile a program under AIX (mostly Sys V.), the
program compiles fine, but the linker says the functions stty and
gtty are undefined... Which library file should I include to make this
work?

Curt Tilmes               Internet : curt@vtvm1.cc.vt.edu
Computer Engineering      BitNet   : curt@vtvm1
Virginia Tech             Disclaimer - I disagree with everyone...

jfh@rpp386.Dallas.TX.US (John F. Haugh II) (09/10/89)

In article <20809@adm.BRL.MIL> CURT@vtvm1.cc.vt.edu (Curt Tilmes) writes:
>I've been trying to compile a program under AIX (mostly Sys V.), the
>program compiles fine, but the linker says the functions stty and
>gtty are undefined... Which library file should I include to make this
>work?

You'd do better to use the ioctl's for System V.  stty and gtty are
old system calls.  You will find them still lingering in BSD land as
well.
-- 
John F. Haugh II                        +-Quote of the month club: ------------
VoiceNet: (512) 832-8832   Data: -8835  |  It's not that important,
InterNet: jfh@rpp386.cactus.org         |      it's only USENET.
UUCPNet:  {texbell|bigtex}!rpp386!jfh   +--------------     -- Rich $alz   ----