site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, Does anybody know why this doesn't work? Nicolas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com I'm trying to use CFFileDescriptors to know when opened files or network sockets are readable. Although the following code works fine with a file it opens itself, it fails with stdin. It also fails with a dupped version of stdin (tried this thinking the CF machinery might close fd #0 at some point...). test-stdin.c