home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!csus.edu!ucdavis!toadflax!dilger
- From: dilger@toadflax.cs.ucdavis.edu (Mike Dilger)
- Newsgroups: comp.unix.wizards
- Subject: Select and stdio
- Message-ID: <19235@ucdavis.ucdavis.edu>
- Date: 15 Nov 92 19:56:16 GMT
- Sender: usenet@ucdavis.ucdavis.edu
- Followup-To: dilger@toadflax.cs.ucdavis.edu
- Distribution: usa
- Organization: Department of Computer Science, University of California, Davis
- Lines: 12
-
- Does anyone know if select still works on fd's when using the stdio
- library on the equivalent streams? I assume that the stdio library
- reads the data and the select bit turns off for that fd. If this
- is the case, is there any equivalent stdio routine like select?
-
- The reason I ask is I am trying to read/write sockets with stdio routines
- instead of system calls (read/write), and I have several sockets that
- I need to monitor for activity (without polling).
-
- Thanks.
-
- Mike (dilger@toadflax.cs.ucdavis.edu)
-