Subject: gtty, stty
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: John C. Hayward <johnh@rachel.wheaton.edu>
List: current-users
Date: 09/08/1994 13:17:55
Dear NetBSDers,
    It seems that there is an include file for gtty and stty but when I 
compile a program using it I get undefined _gtty or _stty.  There is also
a manual entry for gtty and stty which seems to indicate they should be 
there.  Below is a program which fails on my system.  My libraries are
Aug 1.  Includes and kernel Aug 23.
#include <sgtty.h>
main(){
    struct sgttyb b;
    gtty(0, &b); 
}

cc produces:
... Undefined symbol `_gtty' ...

johnh...

------------------------------------------------------------------------------