Unix file desciptors

L

Lorenzo Chomp

--0-178049897-1142393628=:87902
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi! I'm new on this list, and right now I'm wondering something... Do=
es somedy know if Ruby streams are Unix File Descriptor's compatible? I n=
eed 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 all=
ows creating an IO object using a file descriptor (an integer) as a param=
eter. 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.=20
Does somebody know something about this? Thanks.
=20
=09
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top