C (61/257)

From:
Date:06 Feb 2001 at 08:48:37
Subject:PIPE and FIFO

Hello,
sorry for beeing a little bit of topic, but it is a technical question and so I thing its ok to ask here.

What are the restrictions of PIPE: and FIFO:? Can I use them like a normal File?

I want to do the followig:

I have an AIFF-audiofile, some 100 MBytes in size. I want to convert this file with "sox" into Sun .au format. This new Sun .au file is one input file of an animation/sound mixer program. As all files are very big I would like to avoid temporary files.

So I dream of something like this:

Shell_1:
sox Sound.Aiff Pipe:Sound.au

(Write to pipe:)

Shell_2:
SndAnimMixer Pipe:Sound.au AnimFile Resultfile

(read from pipe:)

Is that possible? If yes, what restrictions apply to "Pipe-Files"? Can I as programmer seek in a pipe-file and rewind again?
Lets say I want to read parts of a file in a non continous order. Is that possible? Can I read parts of that file multiple times? If yes, how does it work internally?

Kind regards Alexander Fritsch

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981445739/
---------------------------------------------------------------------_->