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. Advertisements

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. david wolf
    Replies:
    5
    Views:
    16,101
    Thomas Weidenfeller
    Apr 21, 2006
  2. Replies:
    12
    Views:
    1,911
    Dave Thompson
    Jan 10, 2005
  3. Michael Hudson
    Replies:
    3
    Views:
    443
    Bengt Richter
    Jul 22, 2003
  4. Michele Simionato
    Replies:
    15
    Views:
    700
  5. Replies:
    18
    Views:
    843
    Dave Thompson
    Jan 10, 2005
  6. Money

    DOS text file to unix file

    Money, Nov 23, 2006, in forum: C Programming
    Replies:
    2
    Views:
    394
    Nick Keighley
    Nov 23, 2006
  7. Vikram Sharma
    Replies:
    2
    Views:
    292
    Vikram Sharma
    Dec 1, 2008
  8. Robert Wallace

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

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