Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> However, there is a fundamental problem in all this because we can't
> properly signal an EOF condition.  After all, we only have one file
> descriptor open to the run translator, and how can we signal that there is
> nothing left to read to it?  When we could, I would use two pipes instead
> one bidirectional, and close it.  This would be enough to let the running
> program know about it.  But how to get the end of file signal to the foo
> translator in the first place?  The filter program should do it somehow.
> Do we have some icky (or even proper) RPC that we can use for this?  Am I
> missing something obvious?

You want the "shutdown" call, which should do the right thing.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to