[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fifo Problem
From: |
Ralph Corderoy |
Subject: |
Re: Fifo Problem |
Date: |
Sun, 07 Jul 2002 15:21:21 GMT |
Hi Bruce,
> create_pipes() {
> echo "create 4> pipe out"
> ftp_pipe_out=/tmp/ftp_pipe_out.$$ #create the output fifos
> mkfifo $ftp_pipe_out
> exec 4>$ftp_pipe_out <-----------
> echo "leaving create 4> pipe out"
> }
>
> It never leaves create_pipes. It get stuck on the exec.
Opening a fifo for writing blocks until there's something trying to read
from it. See if open(2), mknod(2), or fifo(4) shed more light.
Cheers,
Ralph.