This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Help: looking for equivalent syscall to shutdown() but for unix pipes
- From: Alexandre Bique <bique dot alexandre at gmail dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-help at sourceware dot org
- Date: Fri, 18 Jan 2019 23:49:02 +0100
- Subject: Re: Help: looking for equivalent syscall to shutdown() but for unix pipes
- References: <CAP737oKftbrxDDRX7RM_PBVTcx54d+j=Vz5LJysq=3D0CNeRvw@mail.gmail.com> <87r2dbu0t8.fsf@oldenburg2.str.redhat.com> <CAP737o+A0OoRM1D1QR6=cg1i+wu37q2NU9bxOskEtdSfbqD=3w@mail.gmail.com> <871s5aqnqn.fsf@oldenburg2.str.redhat.com> <19b0c190-6ea1-8c56-faaf-a044ca2aee28@linaro.org> <CAP737oLH2=WAWLVKLTJB2DKDYXNMsBYE3VwcJPPpajir-QQoag@mail.gmail.com>
On Fri, Jan 18, 2019 at 3:44 PM Alexandre Bique
<bique.alexandre@gmail.com> wrote:
> On Fri, Jan 18, 2019 at 1:36 PM Adhemerval Zanella
> <adhemerval.zanella@linaro.org> wrote:
> > Maybe use socketpair if unidirectional is not required?
>
> We don't need a bi-directional communication, we wanted to stick with
> pipe and solve the issue.
Yet the idea of using a unix socket instead and shutdown the direction
we don't need (to make it look like a pipe) sounds the best option so
far.
Thank you again,
--
Alexandre Bique