Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!udel!garrett From: garrett@udel.EDU (Joel Garrett) Newsgroups: comp.sys.hp Subject: FIONREAD under HP/UX ioctl Message-ID: <839@louie.udel.EDU> Date: 16 Dec 87 19:20:37 GMT Reply-To: garrett@udel.EDU (Joel Garrett) Distribution: na Organization: University of Delaware Lines: 16 Trying to convert this code we have is really starting to look pretty dismal. We seem to have fixed up the AF_UNIX problem with sockets, but are now stuck on several ioctl calls. We need to make a call similar to the BSD FIONREAD which returns the number of characters in the input buffer of the given file descriptor. Unfortunately, according to the HP/UX docs (in parenthesized fine print at the end of the termio section, I might add) this call is not available. Would anyone know of a work-around for this or is it time to punt? Joel J. Garrett Research Associate Center for Composite Materials University of Delaware Newark, DE 19716 arpa: garrett@udel.edu or: garrett@udel-ccm.arpa