CFFileDescriptor and stdin
CFFileDescriptor and stdin
- Subject: CFFileDescriptor and stdin
- From: Nicolas Roussel <email@hidden>
- Date: Sat, 6 Sep 2008 18:01:00 +0200
Hi,
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...).
Does anybody know why this doesn't work?
Nicolas
Attachment:
test-stdin.c
Description: Binary data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden