From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076332421611.tru64-unix-managers.marc@archive.invalid> From: Ray Bellis Date: Thu, 30 May 1996 14:14:39 +0000 To: tru64-unix-managers Subject: select(2) broken in 3.2C? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076332421611 Does anyone know if select(2) has problems in 3.2C? I've written a program which is using select to do blocking reads from a tty, but for some reason select always claims to have input waiting on my file descriptor, but then the read fails claiming that there isn't any input waiting. My program therefore goes around and around in a loop chewing up CPU time when it *should* be blocked. Has anyone else seen this? Thanks, Ray. -- __ __ Computing Officer, MRC Research Centre in Brain and Behaviour, /_/ /_/ \/ Department of Experimental Psychology, Oxford University / \ / / /