In article <slrnc26ead.s49.basile-news / hector.lesours>,
Basile Starynkevitch [news] <basile-news / starynkevitch.net> wrote:
>Why is (the library call) mkfifo missing in Ruby 1.8? Is there a way
>to do it simply (without coding the trivial C stub) in Ruby, other
>than system("mkfifo #{path}")

You could use syscall :-)  No I'm not advocating this seriously.

# Linux 2.4

SYS_mknod = 14
S_IFIFO = 4096
name = 'my_fifo'

puts "result is #{syscall(SYS_mknod, name, 0666 | S_IFIFO)}"

Mike
-- 
mike / stok.co.uk                    |           The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/       | GPG PGP Key      1024D/059913DA 
mike / exegenix.com                  | Fingerprint      0570 71CD 6790 7C28 3D60
http://www.exegenix.com/           |                  75D2 9EC4 C1C0 0599 13DA