On Jun 30, 2011, at 1:33 PM, James Merkel wrote:

> We find from Kernighan and Ritchie (K&R) second edition, section 8.1 that a 
> file descriptor is a small non-negative integer that refers to a file and is 
> maintained by the system.

Actually file descriptors are used for any sort of I/O channel, including the 
default stdin/stdout/stderr streams, network sockets, IPC connections, and 
more. Running out of them is less uncommon than you’d think, so it’s a good 
idea to close unneeded ones ASAP.

—Jens

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to