Snel
A shell implementation for A.U.TH (Operating Systems Lab)
snel::Pipe Struct Reference

#include <sequencer.h>

Public Member Functions

 ~Pipe ()
 Destructor to free up all the resources.
 

Public Attributes

fd_t fd [2] {-1, -1}
 
bool from {false}
 
bool to {false}
 

Detailed Description

A pipe file descriptor container for each child.

Note
We store the pipe in the first child and use the flags from and to to inform child's executer for where can find the data.

Definition at line 82 of file sequencer.h.


The documentation for this struct was generated from the following files: