ioctl TIOCSTI question
Ron Guilmette
rfg at NCD.COM
Mon Mar 25 12:10:38 AEST 1991
In article <MAYER.91Mar11104808 at porky.sono.uucp> sono!mayer at sun.com (Ronald &) writes:
>On a sparcstation, SunOS 4.1 I am having a problem using the termio
>ioctl TIOCSTI [simulate terminal input] when using gcc. While it
>works as expected under cc, under gcc I get an "Inappropriate ioctl
>for device" error message. Any ideas what I'm missing?
On many machines, it is critically important that you run the fixincludes
script before trying to use your system's own native <ioctl.h> in any
programs which get compiled with gcc.
--
// Ron ("Shoot From The Hip") Guilmette
// Internet: rfg at ncd.com uucp: ...uunet!lupine!rfg
// New motto: If it ain't broke, try using a bigger hammer.
More information about the Comp.unix.questions
mailing list