Next: , Previous: bpipe_input, Up: BPipe Manipulations


A.1.2 bpipe_delete

Close the channels attached to a binary pipe and destroy the pipe.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
void bpipe_delete(BPipe *bpipe);

Parameters

BPipe *bpipe
the binary pipe to close

Description

This routine closes the input and output channels and deletes the associated data structures. It deletes the pipe's header parameter and data packet field binary trees. Finally, it frees the memory associated with the binary pipe structure itself.