what is the difference between two processes
communicating through a normal file discriptor and a fifo pipe discriptor ?

p0:
mkfifo("myfifo",....)
int fd=open("myfifo",O_RDONLY..)
read("myfifo",buff...)

p1:
int fd=open("myfifo",O_WRONLY..)
write("myfifo",buff....)

---------------------------------------------------

p0:
int fd=open("file",O_CREAT|O_RDONLY..)
read("file",buff...)

p0:
int fd=open("file",O_WRONLY..)
write("file",buff...)


is it only the blocking mechanizim ?

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Reply via email to