Unix file desciptors

Discussion in 'Ruby' started by Lorenzo Chomp, Mar 15, 2006.

  1. --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
    ---------------------------------
    1GB gratis, Antivirus y Antispam
    Correo Yahoo!, el mejor correo web del mundo
    Abr=ED tu cuenta aqu=ED
    --0-178049897-1142393628=:87902--
     
    Lorenzo Chomp, Mar 15, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    12
    Views:
    1,701
    Dave Thompson
    Jan 10, 2005
  2. Michael Hudson
    Replies:
    3
    Views:
    371
    Bengt Richter
    Jul 22, 2003
  3. Michele Simionato
    Replies:
    15
    Views:
    577
  4. Replies:
    18
    Views:
    656
    Dave Thompson
    Jan 10, 2005
  5. Robert Wallace

    my own perl "dos->unix"/"unix->dos"

    Robert Wallace, Jan 21, 2004, in forum: Perl Misc
    Replies:
    7
    Views:
    312
    Michele Dondi
    Jan 22, 2004
Loading...

Share This Page