# Unix file desciptors

**URL:** <https://www.ruby-forum.com/t/unix-file-desciptors/54904>\
**Category:** Ruby\
**Created:** [March 15, 2006, 4:36am UTC](https://www.ruby-forum.com/t/unix-file-desciptors/54904 "2006-03-15T04:36:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorenzo\_Chomp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@Lorenzo\_Chomp](https://www.ruby-forum.com/u/Lorenzo_Chomp)\
**Post date:** [March 15, 2006, 4:36am UTC](https://www.ruby-forum.com/t/unix-file-desciptors/54904/1 "2006-03-15T04:36:12Z")

</div>

Hi! I’m new on this list, and right now I’m wondering something… Does  
somedy know if Ruby streams are Unix File Descriptor’s compatible? I  
need to use a file descriptor opened by another process (a daemon  
written in C). I’m reading about the IO class, it seems to have a method  
that allows creating an IO object using a file descriptor (an integer)  
as a parameter. But I see that File has something similar (I guess that  
Files is a subcclass of IO). I’m new at Ruby, so I’m not sure about its  
internals.  
Does somebody know something about this? Thanks.
