Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.internals Subject: Re: How to distinguish between STREAMS and non-STREAMS Keywords: STREAMS tty character-special Message-ID: <5348@auspex.auspex.com> Date: 17 Jan 91 21:30:51 GMT References: Organization: Auspex Systems, Santa Clara Lines: 8 >I_LIST might be particularly fast since if you pass it a NULL pointer >for the list, it just returns the number of modules on the stream, Unless, of course, you're not running System V Release 4, in which case it just returns an error.... I_LOOK also looks only at the stream head, although it does loop through the table of modules to find the name.