[EMAIL PROTECTED] (Niels Möller) writes: > [EMAIL PROTECTED] (Thomas Bushnell, BSG) writes: > > > You want the "shutdown" call, which should do the right thing. > > Does shutdown work on plain pipes, or is it it necessary to use > socketpair instead of pipe? (Not that that is usually a problem, I'd > recommend socketpair everytime, except if one actually needs the > atomic PIPE_BUF behaviour). > > Does the Hurd's shutdown work on the (master side) of a pty as well?
I'm baffled. If it's a plain pipe, then you simply close the end you're writing on, and the reader gets EOF. I assumed the implementation used socketpairs, where closing your writing half would prevent you from also reading on it. Thomas _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd