/* wotttytst.c - test wottty.mac */ int t; main() { int wottty(); call(wottty,1,&t); printf("Your terminal type is %d.\n",t); }