This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: pipe() in glibc2.0.7



Pipes do return an EOF when the write side of the pipe is closed by ALL
writers.  Your problem is that you are not closing the write side of the pipe
in the reading process.  It is also good practice to close the reading side of
the pipe in a process that only wites.  Remember everything you had before you
fork() is reproduced in the child process.

HTH.

                                        -Govind Salinas
If it jams, force it.  If it breaks, it needed replacing anyway. 
        -Credo of technicians everywhere
ICQ:32026672                                    AIM:DyErthScum

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]