ioctl problem in A/UX 2.0

Peter Espen pke@btr.com pke at public.BTR.COM
Sun Mar 10 06:59:45 AEST 1991


In article <2041 at public.BTR.COM>, pke at public.BTR.COM (Peter Espen  pke at btr.com) writes:
> 
> Can someone explain to me why the first ioctl call in the following test
> program fails with an invalid argument error? 
>  
.........
> 
> 	if ( (i = ioctl( fp, TCGETA,  &my_termio)) < 0) {
> 		perror("TCGETA:");
> 		fprintf(stderr, "%d: ioctl error on TCGETA op. \n", errno);
> 		exit(0);
> 		}
> 

	Well, I just needed to make sure that I had all the proper
	include files in /usr/local/lib/gcc-include by running
	the most recent fixincludes.

	Thanks for all the replies!

	Peter Espen
	pke at btr.com



More information about the Comp.unix.aux mailing list