ioctl

Allan Christian Long acl3k at agate.cs.Virginia.EDU
Wed May 22 08:47:50 AEST 1991


	I'm trying to convert a tracking library from SunOS to IRIX.
I managed to get it to compile, but it isn't working.  Specifically,
the an ioctl call is giving me an "Invalid argument error".  The
call looks like this:

	if (ioctl(trackerPtr->fileDescriptor, FIONREAD, &charsToRead) < 0)

The first parameter is a file descriptor and the third is a pointer to
a long.  FIONREAD is a parameter from the termio.h file.  I have RTFM'ed
until I'm blue in the face, but I can't find FIONREAD mentioned anywhere
in any of the manuals.  The SunOS manual has a page on "filio" that
describes this parameter, but there is no filio page for IRIX.
	Could someone please point me in the direction of a man page or
something?


A. Chris Long, Jr.  			acl3k at virginia.edu
Rebooting sig, please wait...



More information about the Comp.sys.sgi mailing list